Cognitive behavioral therapy is used to treat a wide variety of conditions including anxiety and depression, sleeplessness, substance abuse, and relationship issues.