You should not take Xanax if you have shown sensitivity to other benzos such as Valium and Ativan, have narrow-angle glaucoma, or are pregnant or breastfeeding. Alert your health care provider if you have liver problems, as there is a risk that Xanax may build up in your system and lead to overdose or heavy sedation.