Cognitive behavioral therapy (CBT) helps individuals recognize and modify unhelpful patterns in thoughts, feelings, and behaviors.