I think it's about creating habits. I struggled to workout at home during the lockdown, and slid backwards a lot. When I have the gym available, I just go 5 times a week at the same hour every day. I don't have to think about it. I don't take my phone with me, so I have an hour at the gym with nothing else to do but do my exercises. So my advice to you is set a time on the weekends when you're going to workout, and make sure you do that every weekend without fail, pretty soon it'll just be another thing you do, like brushing your teeth.
It's a little awkward now because I have to schedule an appointment for the gym and I can only get access 3 times a week, and it's the building gym so there isn't a huge variety of equipment, but I'm making do.