For anxiety disorders, benzodiazepines are most often used to treat panic disorder, and are sometimes used for social anxiety disorder and generalized anxiety disorder. These drugs include alprazolam (Xanax), clonazepam (Klonopin), and lorazepam (Ativan).