I know it's been mentioned a few times (and numerous times in the audio teachings) but as is said in 1 Corinthians 5:6
"Know ye not that a little leaven leaveneth the whole lump?"
While there's no doubt that this is overtly talking about bad doctrine corrupting an entire system, this can also relate to virtually anything sinful in our lives, be it habits, doctrine, attitudes...anything. As some of us who have history with addiction know, it only takes one time with the wrong thing to kick start years of misery, so we don't just have to go through a physical detox, but in a lot of cases a spiritual one too.
Cleaning out these things can be tricky too. Basically any avenue that you would have normally had to access said thing, you have to either cut it out of your life or make it so difficult to access that it is easier to say no to something than yes, and all of this while praying that God might either purge the desire for whatever it was from you, or show you how to go about getting it out of your life too.
Something interesting I find too is that when you are tempted by it, take a step back for a moment and think, what is it actually offering you in the long term? Will it make your life any better? And what could it possibly offer you that can not be found in our Lord Jesus Christ?
It's hard to say what will or won't work for you, but also think about this, in Romans {8:28}:
"And we know that all things work together for good to them that love God, to them who are the called according to [his] purpose."
The misery you've been through in the darkest times, and fighting to break free of it now, none of this experience is wasted, there's a high probability that God will want to use your experiences to help someone else either directly or indirectly.