Karma isn't given, like other posters have said it just is. Cause and effect. If I were to develop lung cancer due to being a smoker:smoking is my karma(cause) and lung cancer is my vipaka(effect). It's not a punishment, it's a natural consequence.