Cognitive behavioral therapy (CBT) is psychotherapy that teaches you to identify thoughts that work against you and change them into helpful ones.
CBT is based on the idea that your thoughts affect your emotions, which can affect your behavior.
Slipping into a negative thought and behavior pattern is easy. CBT helps you identify these patterns and change them.