If you have a craving, remind yourself, “This is time limited. I will not be feeling this craving forever.” Set a timer for 20 minutes and get involved in something else. After the timer goes off, reassess if the craving is still as strong. Likely, it will have receded to a level that you can overcome, especially if you spent the 20 minutes doing something engrossing.