“All men are forced to act helplessly according to the impulses born of the modes of material nature; therefore no one can refrain from doing something, not even for a moment.” – BG 3.5
As long as we are in this material body, we are going to suffer from physical ailments. We are driven by the impulses that are born from the modes of nature. OCD is not our fault. It is due to chemical imbalances in the brain, due to genes perhaps, due to reasons unknown to us. But it is born of material nature. It is not the nature of our soul. It is not who we are. Know and realize that it is not your fault.
The solution? Work for Vishnu:
“Work done as a sacrifice for Visnu has to be performed, otherwise work binds one to this material world. Therefore, O son of Kunti, perform your prescribed duties for His satisfaction, and in that way you will always remain unattached and free from bondage.” BG 3.9
Work with a desire to please him and in this way be focused on him. Perhaps this will reduce the time I spend focusing on my OCD-thoughts?
“The working senses are superior to dull matter; mind is higher than the senses; intelligence is still higher than the mind; and he [the soul] is even higher than the intelligence.” BG 3.42