How do you build up mental resistance so that you are bothered by ocd or disturbing thoughts?

523206720
Sometimes I get this issue where I will randomly get an anxiety attack around a married or unavailable man when the idea or suggestion of dating comes into my head. Often it is guilt over liking somebody that is unavailable but sometimes it is also fear of becoming obsessed or degraded by them. I am not sure why this bothers me in a way that it doesn't seem to bother others but I have had this problem ever since I was 9 years old and maybe even younger. Today I was in a bad mood and even though the suggestion of becoming anxious over a forbidden love interest kept appearing in my brain unwittingly it didn't seem to be able to phase me as much as it usually does. I think this is because my mind was too busy reacting to my bad mood to care about anything else. I've concluded that I can avoid and cure myself from psychological disorders or emotionally maladaptive behaviour by keeping myself busy - not just physically but mentally, emotionally, psychologically, spiritually and socially. That in keeping myself busy I can avoid all of life's major problems.
How do you build up mental resistance so that you are bothered by ocd or disturbing thoughts?
2 Opinion