just stop. every time you get a bad craving and bum a smoke, crush it before you can light it.
The guy you just bummed it from will get pissed at you, so be ready to give him some money or something to pay him back.
But crush the cigarrette in your hand until all the pieces fall out of your hand.. this'll take awhile and take your mind off of the craving (at least somewhat). Just don't turn to alcohol or food for solace.
If anything,

.