Talk to a counselor
Many people have emotions of guilt or shame when they admit to having intrusive thoughts. They make an effort to cope with their thoughts individually and to keep them private from other people. However, it may be helpful to talk to a counselor.
You may consult with a counselor if none of the above solutions work. There is nothing wrong with asking a professional for assistance, particularly when it comes to controlling your thoughts. The hardest thing you'll ever have to master is how to stop intrusive thoughts, so getting the help you need might put an end to these thoughts forever. Most importantly, a counselor will provide you with recommended coping strategies to handle your intrusive thoughts.