The Law of Karma is also known as the Law of Balance. In the process of living, evolving, experimenting and learning, our actions affect others either harmfully or beneficially, thus incurring numerous and often complex debts. The Law of Karma requires that the effects which our actions have on others, including the animal, plant and mineral kingdoms, must always be balanced. When we harm others we incur a debt. When others harm us they incur a debt. Debts for good or evil, owed to us or by us, must be paid. Similarly, when you injure yourself, perhaps through mis-use of the physical body, you create an imbalance, a debt to yourself which must be repaid by your comprehension and rejection of such actions. All, in the end, must balance.
Through this Law of Balance, or Cause and Effect, we experience and learn from the results of our chosen actions and those of others.
From wrong actions taken in specific sets of circumstances, wrong effects follow; we must then revisit and recreate those sets of circumstances again and again until, having learnt from the ill effects of taking the wrong path, we choose the right path. This is the Law of Karma. Tests will be repeated until they are "passed" by our acknowledgment, acceptance and assimilation of the lesson to be learnt. Challenges will be repeated until they are overcome. This process can take place as a short lesson lasting one moment or one day; or it can take place over a lifetime, or several lives, several incarnations. But lessons must inevitably be learnt.
Similarly our "good" actions, actions which show respect for other lifeforms, those "random acts of kindness" which benefit others, set in motion a positive chain reaction.
The Law of Karma works "automatically". We magnetically attract to ourselves "bad" experiences when we have a need to learn from them. Likewise when we do not need to learn a particular lesson, we will not be touched by danger or evil. We resonate magnetically towards good and bad experiences, drawing them to us when we have need to learn from them.
Do not see karma only as a plus or minus column in a divine accountant's book in which is recorded what you owe to someone because of the wrong that you have done them! It does not work in that way. It is rather a teaching process in which you learn from what you have done. It is you that has created those ripples on the pond of life and they will in turn affect you. The purpose of karma is not punishment. It is rather a process of balance and education