Our thoughts are like chimpanzees swinging from tree to tree, here, there, everywhere. Just because you have a thought doesn't mean it is true. You might want to try mindfulness. With mindfulness, you just notice the thought. You might label the thought, like "That's a thought." You don't hold onto it or examine it or judge it, you just let it flow on by like a wave. But you give no power to the thought. At times, all of us have thoughts that have nothing to do with reality. So you are mindful of the thought and accept that at times you will have thoughts that aren't helpful to you.
If you have a recurring thought that bothers you, then you might want to see if there is any evidence to support the thought. Is there evidence against the thought? If there is evidence to support the thought, or the thought might be justified, then consider if you want to make changes or not? Or do you want to accept the situation as it is for now? Acceptance means not judging yourself. If you don't want to make changes or it's not the right time, then use mindfulness and be aware of the thought as just a thought and not something you need to take action on.