Don't store food in the house. Practice Satipatthana meditation. Be mindful of the food craving. Note it until it goes away.