Your doctor switched you to a long-acting benzodiazepine to help you get past the xanax (alprazolam) withdrawal
(that's often mistaken for panic). The next step down the road will be to deal with your anxiety
without any benzodiazepines. There are better drugs plus cognitive behavioral therapy
if you'll just be patient.