Hallo to everybody

To make this story shorten because of general anxiety and insomnia that lasted for 4 months without no sleep of all I started to take just 0.25 mg of xanax before sleeping. It helped me right away when no other tablets did and I tried so many of them. I did have some side effects from xanax but i really did not care because i slept again.I even putted this dosage on 0.20 and everything was going better. Before 15 days i finished in hospital with just one tablet of xanax that needed to last for 4 days so I cute them on 4 parts that means 0.125 mg. I was feeling good on that amount and I continued like that, but after 5 days in evening I got something like panic attack but much worst and in Monday I woke up totally strange. Could not concentrate, light was disturbing me, sound too, I felt like i do not know who and where I am for some times, I felt ringing in ears, depressed, spaced out, tired, muscle weakness, horrible anxiety... Horrible and that feeling is lasting till today. I drink in moment my old dosage of xanax. My psychologist say it cannot be due xanax but I think she is wrong.So 2 months on xanax. What is wrong with me?Tolerance?Side effect?No it is not deralisation because I had it when I had anxiety and I do have problems with ears but this feels difference. What to do now?How to tapper?Stop?Continue?Please help I feel like i am going crazy.