Doctors and therapists are there when you need them. For other times, try some meditation and see if it gives your mind a rest...are you able to step outside of the negative thoughts or at least see them as less significant than they are? We don't have to believe our thoughts, right?
Compassionate Body Scan
YouTube
I am Hopeful Guided Meditation
YouTube