I developed a dependency on Xanax myself, originally prescribed by my Doctor for severe anxiety. With benzodiazepines the body becomes dependent on them very quickly, it only takes about a month of continuous use before you are dependent. Like yourself I had been using Xanax continually for around three years and I made the huge mistake of quitting cold turkey which led to me having multiple seizures and hospital visits (in my defence I was very young and naive) in my opinion Xanax is by far the worst benzo out there as it has such a short half life and is by far one of the strongest. I had to taper of slowly over the course of a few months. I’m not going to sugar coat it, it was hell on earth! When tapering of benzodiazepines you need to use one with a long half life, diazepam/Valium or even Klonopin/Clonazepam is best for this. I would also strongly advice getting some cannabis just to take the edge of, also cannabis is great for preventing seizures. Benzodiazepines are probably one of the hardest drugs to withdraw from but it’s so worth it! I hope I have helped in some way and please feel free to message me for any advice I have a lot of experience in helping people withdraw from benzodiazepines. P.s. this is not something you can do on your own it’s best to find an outpatient rehab or even a family member to hold on to your medications.