Been through burnout myself (still recovering, takes a long time).
Look for things that bring you joy (and don’t get carried away). If your body says no, it’s probably not a good fit for you right now.
Being in tech likely means you have skills that are valuable in a lot of jobs that can make you a (possibly smaller) salary. Now is a good time to try out something different. I recommend the book Designing Your Work Life with Bill Burnett.
You can also check out my book with advice based on how I moved on: https://www.amazon.com/dp/B0BDM4JXNR