Sorry you’re going through that. I can recommend mindfulness meditation to help clear your mind and take better control of your thoughts.
There are some guided meditation videos on YouTube to start with, and scientific evidence is growing that this kind of meditation can positively affect the brain: https://news.harvard.edu/gazette/story/2018/04/harvard-researchers-study-how-mindfulness-may-change-the-brain-in-depressed-patients/
But, still, if you have counselor to talk to, their professional advice will often have better results than self-researched solutions.