This is the exact opposite that the human mind is adapted to, and I'm relatively convinced that in order to be effective in the modern world you have to take an actively counter intuitive path through life. It's hard to be healthy, to be productive, to be social, since the works just isn't set up to make it easy now.
I haven't fully solved this for myself, but I have shifted from being hard on myself for eating a whole chocolate bar in one sitting to asking myself how can I make it harder for myself to find myself in the situation that I'm eating a whole chocolate bar?
As some things I've read have suggested, one way to get lots of willpower is to make any other option impossible. So, don't bring candy bars into the house, pay for a gym membership so I'll feel reptile brain loss aversion for not going, etc.
Especially for an entrepreneur, it seems like a critical thing is just getting out of the way of yourself.