I'm sorry you're having so many problems (it's rather sad that your doctor refused to see you after starting you on the medication). Maybe there's a silver lining, and you'll find another doctor that can help you. Are there any pain clinics in your area?
I hope you'll find some good advice in the Substance Abuse section - you shouldn't have to go through detox with help and support.
Sending prayers and hugs......