The dosage of the prescription drug Xanax depends on the patient and is used to treat a variety of mental problems. Beginning with the lowest amount feasible, your doctor will gradually increase or decrease your medication as needed. Your doctor should conduct a complete examination of you in order to identify the appropriate dosages for you.