In general, try to distract yourself when you get a craving, urge or even thoughts about smoking. Remember, these won't harm you and usually ease with time. If they don't, consult a health professional. Also try to continue walking or another exercise, not having cigarettes at home, drinking from a water bottle and staying away or limiting coffee drinking. Develop new rituals like drinking water with lemon or tea instead of coffee.