Welcome to the thread Tams,
I don't know if this would be an option for you, but have you ever considered treatment, either residential or outpatient. It can be very helpful in letting you get a base of sober time to build on.
I don't know what your substance is, but maybe a frank talk with your Dr. is in order. There are meds that can make the withdrawal process less awful, which is particularly important with alcohol as alcohol withdrawal can be dangerous. There are also a number of anti craving meds that can help you stay clean/sober.
Hope to see you posting and hearing how it's going.
splitimage
__________________
"I danced in the morning when the world was begun. I danced in the moon and the stars and the sun". From my favourite hymn.
"If you see the wonder in a fairy tale, you can take the future even if you fail." Abba