In the beginning, what is needed is to
replace the dopamine you were getting from smoking.
That's a big part of the reason people get stuck and fail.
You can get it from music or exercise, or, a hobby or craft, volunteering, a sport, or playing an instrument. Not only will these provide the dopamine, they keep your mind busy and thus, not thinking of smoking or not smoking.
(This really works. I played guitar at a friends house 10 hours a day my first two weeks as I was between construction projects)
I Forgot To Include Food, Sex And Chocolate. :-)
(I didn't actually forget, I was avoiding the ones that add calories)
A recent study says the dopamine is actually released when we think about the food even if we don't follow through and eat it.
(There are plenty of pictures of food on the net) :-)