Xanax is a class of drugs also known as benzodiazepine. It is used to treat anxiety and panic disorder. It calms your nervous system when you are depressed. Take this medicine directed by mouth. Do not take more time it cause severe side effect including depressed mood, confusion, and agitation. Xanax is available in 1mg,2mg,3mg, and 0.5mg.