When I crave chocolate pudding, I'll eventually make a bowl, and instead of splitting it into many desert cups (which I would just crave for), I eat the entire bowl in one go. Then I'm cured from pudding for a while.
Chips (or fries) though, I can't resist. Better not to buy any...