As for anxiety, Zoloft is approved to treat social anxiety disorder, and is sometimes used off-label to treat generalized anxiety disorder (GAD). Lexapro is approved to treat GAD and can be used off-label to treat social anxiety disorder and panic disorder.