Help getting clean.

I know this is a long shot and I understand I will be under a lot of judgment for this post and that is ok with me. For a while now I have been having this problem where I can not sleep u til the sun rises and then I will got to sleep until about 2 pm UNLESS I take 2 or 3 Xanaxs. I know I'm wrong for taking them because my Dr won't give me a script so my mom gives me hers now. But I want to be completely sober from now on. I want a job again and I can't do it by myself. Please help me figure out what I can do my insurance is cutting off soon and I desperately need the help I have so much debt that needs to be paid off and I want to be sober again.