I gave up last October for the second and last time, my trick was to tell every smoker I knew that I'd quit, I liked the look on there faces each time they asked me are you back smoking again, and I answered NO!
Tell yourself you're going to quit and do it, its all mind over matter imo..