Self sabotaging myself constantly

Hi Coach
I am very overweight. I don’t know how to break the cycle. I do IF but during my eating window I just eat whatever I want to. I can fast for up to 36 hrs no problem. last night I even had a whole bag of chocolates as I was upset with my husband. I had created a vision for my health but 6 weeks later I haven’t achieved any of it. What can I do to move forward????