Try Cognitive Behavioral Therapy. From the Wikipedia article [1]: “This therapy focuses on challenging unhelpful and irrational negative thoughts and beliefs, referred to as 'self-talk' and replacing them with more rational positive self-talk. This alteration in a person's thinking produces less anxiety and depression.”
[1] https://en.wikipedia.org/wiki/Cognitive_behavioral_therapy