All you need is the will to quit. I don't know any other way than to avoid it yourself.