You know, it's very hard, and even impossible to deal with mental struggles you're going through, when you lack the "will to ignore". Because every time when you get that negative impulse in your head, you're eventually drawn back to that stimulus, ending up with response you shouldn't have given. Repetition is one such example, which is the outcome of your habit you build up while being obsessed with negative overthinking and lacking the morale to ignore.
Definitely, it's never going to be easy to get over the thought you're constantly into, but lacking that self-confidence is an another and most important thing and it is indeed, directly proportional to your will to ignore!
-