BQ, as far as smoking goes, I quit after 30 years of 2+packs a day, the urges will lessen over time, just hang in there.
I occasionally have an urge for a smoke sometimes, but it passes pretty quickly (I've quit for 2 years now).
Mostly, I found that it was all mostly in my head, the whole thing with the physical part was not too bad for me.
Sometimes, and this has been lately, when I am depressed, I drink a little more than I should, but not to the point of being drunk. Usually just to help me from being edgy, and to alleviate some of the stress at home right now.
To answer your question, what worked for me was having a clear cut goal in mind and not giving up even if I did fail a couple of times. Keeping your goal in sight will help you overcome the mental aspect of an addiction and your body generally follows without too much of a fight.
Do not get down on yourself if you mess up, just keep on trying and you will be sucessful. Good Luck.