You just have to reprogram yourself to do it.
Nothing else but ACTION will suffice for exercising.
A very fit friend of mine said to me many years ago "I just don't give myself any choice about whether I'm going to the gym."
You can talk and use apps and make plans and get trainers and coaches and excuses etc etc etc but in the end the ONLY thing that works is ACTION - go and exercise. Find an exercise that suits you. I like running because it's so easy - just pull on shoes and go - and you can listen to podcasts as you do it. Also CrossFit because I find exercise boring so it's really great to do a group class where the instructor tells you what to do - all I need to do is turn up for an hour and hand over all the thinking about it to someone else and leave fitter and hour later.