I did 5:2 about 5 years ago for about 2 years with great success (lost weight and felt great). And then it stopped working for me - I think it coincided with peri menopause. I found that on my non-fasting days I was so hungry that I was literally getting into that fast/feast pattern which was counter productive.
At the start of Covid I was having really bad peri symptoms and abandoned any weight management and focussed on eating a healthy peri diet (basically mediteranean) as all I cared about was feeling better. I did feel better but put on a stone. At the start of 2021 I went back on IF but this time did 16:8. I treated it as a lifestyle rather than a diet and I lost that stone in about 6 months (not absolutely sure as I never weighed myself).
Like anything, it's about creating a new habit. The hardest thing for me was not having milk in my coffee in the morning, but after a while of having black coffee in the morning I got used to it and now even if I take a day off, I find a milky coffee first thing too rich.
I have since gone further with IF. I have quite a big appetite so in order to not have to monitor what I eat (at all) I now do 18:6. My eating window is 1pm - 7pm. I do this religiously Mon - Friday (I find the 80:20 rule works for me) and will relax a bit on the weekend and do 14 - 16 hours of fasting - depends on what I'm doing.