Know your personality so you can work with it not against it. For instance, I can't do small amounts of diabetic-unfriendly food - for me it's no blueberries or all the blueberries! Others can quite happily stop at 3 or 4 blueberries. (blueberries just used as an example). In my ideal world there would be no carby/sugary food in the house, but I have a lean non-diabetic husband who can eat junk food until Hell freezes over, with no detrimental effect, so we have a house full of it. I deal with that by seeing it as His not Mine, and he is kind enough to keep it where I can't see it or reach it.. So if you live alone, it's simple enough to never buy carby food, but if your family likes it, then maybe you work with them so you can't be tempted by it. Because really you are being tempted by poison. Others of us cope well with substitutes that are less carby and sugary, and maybe you are one of those. Are you a "rebel" in that you only have to be told you can't have something to really want that something and not rest until you have some? Might you see eating/drinking something unsuitable as bucking the system and point-scoring? (these are comments not criticisms).
So - analyse why certain foodstuffs rock your resolution, come back here to discuss, and we all have various tips and wrinkles that have helped us and may help you.