also try some psychological conditioning by:
One more complex way is to think about cards every time the urge to smoke pops in your head.
This will keep you focused on the table and keep your math up to par for poker.
I like to consider and test myself on probabilities post flop, since they are more complex and can continuously change.

One simple way is to think about a happy moment in your life when everything was perfect if you have an urge to smoke, and then focus your mind back onto the table.

Once you ask yourself the question the topic should quickly help you alter your thought process.

Sincerely,

Righton