I don’t keep my word to myself.

I want to lose weight. I know what to do. My problem is I give up on myself so easy. I’ll have my food planned and then I get a thought about eating something else and give in. I say “I’ll start again tomorrow”. I know this is a lie. How do I start trying to repair the trust with myself and sticking to my word? Thanks!