The most common anti-anxiety medications are called benzodiazepines. Benzodiazepines can treat generalized anxiety disorder. In the case of panic disorder or social phobia (social anxiety disorder), benzodiazepines are usually second-line treatments, behind SSRIs or other antidepressants.