Xanax is used in medicine to treat social phobia, anxiety, and nausea after chemotherapy. Xanax should be used for a short time. The drug is supplied in the form of pills, long-term absorption pills, and in liquid form. Xanax has a high action potential. 1 mg of Xanax is equivalent to 2 mg of Valium.