The drug is used to treat people with anxiety disorders and panic attacks .
It is primarily used to treat moderate to severe anxiety disorders ( e.g. , social anxiety disorder ) and panic attacks , and is used as an adjunctive treatment for anxiety associated with moderate depression .