Xanax Is Treating Anxiety Panic Disorder. It Belongs to a Class Of medication called benzodiazepines. It calms down your nervous system. works by lessening abnormal excitement in the brain. Do not take more time. may cause serious side effects including depressed mood, confusion, and agitation. Xanax is available in 1mg,2mg,3mg, and 0.5mg.