it's been something that kinda just...happened...as I became a Christian. I listened to Jesse Lee Peterson about how the path back to God is to forgive your mother first, then your father (Forgive others, and God will forgive you, type of thing). And then to do a silent prayer (not speaking, just being present), and doubt every thought.
And the drinking just fell away without trying. Same with sex out of wedlock, that stopped too...
Just my experience with it, but check out Jesse Lee Peterson on the forgiveness, prayer, and thoughts. Really worked for me.