I stopped smoking for 2 months starting January this year. What helped me was a reddit thread https://www.reddit.com/r/stopsmoking . It was a very helpful community and also full of suggestions what to do when you have cravings for a cigarette.
There is one special book that I highly recommend . Allen Carrs - easy way to stop smoking. http://www.amazon.com/Allen-Carrs-Easy-Stop-Smoking/dp/06154...
It just works. But you need to be persistent with the decision.