Cognitive behavioral therapy can successfully treat many anxiety disorders by changing people's thinking and behavior. The specific approach depends on the type of anxiety disorder.