I’ve found that I had to remove any trigger foods from my home. I can’t eat chips (crisps) or pretzels in moderation - a bag is a single serving, no matter the size. Same with ice cream, I need a minimum of a pint to feel like I’ve had enough to satisfy me. So, if it’s not in the pantry, I can’t eat it.
I make sure to have plenty of low calorie substitutes - fruit, carrot sticks, pickles, popcorn. I mix Greek yogurt with protein powder and freeze it in popsicle molds to help satisfy my ice cream fix. I do allow myself to have ice cream once a week, pizza occasionally, and plenty of other things I like, but I buy them the same day I intend to eat them.
This is partly how I’ve lost 28 pounds since February.