Whatever one does is not his doing ,its cause and effect law that creates actions .
Causes are of three types – mental , verbal and physical action. As one think or say or do it creates a cause , this cause gives effect in present time or in the future but for sure effect will come.
Now the next important point all causes are done by this body mind complex and actually one is only witness of these causes and effects.
Once one is established in the SELF then one is free from this cycle. Then things happen around him not in compulsive mode but awareness mode.