It might be helpful to know that there are ways to deal with panic attacks and anxiety without medication. I have had problems with panic attacks since my teen years and, I found a couple of books that have helped me through. If you decide to get off the Xanax, please know that there are other ways to help with this issue.
"When Panic Attacks" by David Burns, MD
"From Panic to Power" by Lucinda Bassett