It sounds like you've developed some sort of dependency and it's probably not the best thing.
I suggest you consult a professional.
As far as I know xanax is not supposed to be addictive, and is considered a very safe drug. Don't drink at all.