Whenever I have a craving, I drink some water and wait half an hour. Usually, the craving will pass on its own. If it doesn't, I eat a small portion. To avoid overeating, I make sure to only take a small portion; for example, if I want ice cream, I'll put one scoop in a small bowl and take the bowl to another room. That's usually enough for the craving and it keeps me from going back for more.