During work, a habit I've picked up is always going for a 20-30 minute walk. I usually go over lunch or in the afternoon (when I tend to drag a bit). Honestly, the break and moving around usually means that I have a more productive afternoon than if I didn't go for the walk.
After work, it depends. If the weather is nice, I like running.
When the weather is not great, I used to go to the gym. With Covid, I've purchased... 1. A cheap Schwinn 1980s exercise bike on Craigslist 2. Two 25 pound dumbbells 3. A pull-up bar
Between that equipment and pushups+planks+bodyweight squats I can get pretty good workouts at home.
I've also found that, personally, alcohol is really not conducive with a healthy life-style. I have trouble moderating my drinking (starts off without much, but I slowly drink more and more frequently over the course of a few weeks). When I'm drinking, I usually feel worse, struggle to workout, and eat worse. So for me any weight-loss and long stretches of adherence to an exercise regime have usually been accompanied by tee-totaling.
My weight had gone up to 250, down to 215 over the course of ~6 months, and here I am at 230 a year later. Put on a bit of weight over the holidays + drinking again. But haven't drank for the last month and getting back running with this warm weather.