Obviously, my tendency is to do what it is I did that got me here in a sense. I plan and I scheme. Maybe I should just be in the couch binge-watching Netflix, or double-down on physical exercise with the extra time on hand (not that I wasn't active before).
I'm really struggling to figure out what it is that I should be doing now to get back to wellness and then stay there so I was hoping it would help to read other people's experience.
Briefly, high-performance knowledge worker that places a lot of self-worth in the quality of his work and that subsequently spiraled as a work performance degraded as burn out symptoms started to set in that was caused by issues and events on multiple frontiers in life simultaneously. Some of those stressors remain, and are Intrinsic moreso than extrinsic and removing them doesn't really have a tangible timeline.
At 53, with ~30 years in the industry, I've been through this a few times. The key has always been to step back and look around me. Look at other things I could be doing, and maybe do some of them. Focus more attention to family and friends, hobbies, exercise and other forms of self-care. Look at what other people are doing, what I'd do for a living if I couldn't or didn't want to keep programming any more. Compare them to the things I enjoy about programming.
Each time I've concluded that I really do want to continue, but have to plan and negotiate how to keep doing it in a way that wouldn't burn me out again. One time that meant reduced hours (on top of the sabbatical I'd already taken) for a while, and working from home ever since. Some of the negotiation might be with family. Most of it will be with your employer, so having a good manager/culture helps and finding a good one should be a priority otherwise. Changing jobs sometimes helps, but it can also just add its own stress so it should be considered very carefully.
The important things to realize that things can't be the same going forward, or you'll just reach the same outcome. You'll have to change something about your projects, your role, your working conditions. You just need to step back for a bit and figure out what.