How does compulsive or obsessive behavior arise? Is there a spiritual solution to it? How does one handle the situation when he/she recognizes such a behavior in himself/herself and still feels powerless to do anything about it?
In a general sense, obsessive compulsive behavior is a psychological defensive response to try to impose order and control over a feeling of lack of control in life. Since life is fundamentally unpredictable and uncontrollable, this behavior does not address the underlying fear and anxiety.
The long-term solution is to feel comfortable with the uncertainty, ambiguity, and the mysterious nature of life. That means having a strong spiritual core that knows it can handle whatever comes along in life. Furthermore, it implies that you will not only survive the uncertainties of life, but actually thrive through them because you know your life is progressing and growing through these unexpected events. You feel your higher self orchestrating your evolution beyond the understanding and control needs of your ego mind.
When you recognize obsessive compulsive behavior in yourself, take a few breathes and remember what it felt like when you were deep in meditation or another peaceful state where you felt safe and confident. Reflect that this feeling of wasn’t the result of controlling a situation, it was you true natural state of being. You can feel comfortable and at ease even if you do not have certainty or control. Every time you notice your OC behavior, easily come back to this center of ease, and then affirm that you will proceed into action with this state of ease.
The behavior may not change all at once, but gently keep at it and eventually you will retrain your brain to act from balanced awareness, instead of fear.