For sure, 50 is the age you have to stop. Here's some info:
https://www.womens-health-concern.org/help-and-advice/factsheets/contraception-older-woman/To quote:
"Combined hormonal contraceptive methods (pill, patch and vaginal ring) are suitable until the age of 50, so long as there are no health risks (e.g. smoking, obesity, high blood pressure) that could lead to heart, stroke or blood clotting problems."
Are you on HRT? Especially if you had an early menopause, HRT is really indicated to prevent health issues in the future - at least until the age of 51 which is the average age of menopause anyway.
The main difference between the pill and HRT, is that most pills don't use body identical hormones and they do stop ovulation (otherwise they wouldn't be much good for contraception!). Whereas HRT uses body identical estrogen at least (some HRT also uses body identical progesterone) and it doesn't usually stop ovulation.
The Qlaira and Zoely are interesting pills because unlike all the others, they do use body identical estrogen. They use synthetic progesterone, but so do a lot of HRT products. To be contraceptives, they must stop ovulation. For me, with mild endo, I need to stop ovulation - and HRT with body identical progesterone wasn't doing that, which is why I had to add in my desogestrel POP. But an alternative for me, until menopause (when ovulation stops anyway!), would be a combined pill like one of these - which would stop ovulation and also give me estrogen.