I've struggled with this for years. Burned out 3 times. I've done CBT, meditation, and tried various medications. I've quit drinking, I eat well, and exercise often. These all helped a bit, but I was still panicky. Nothing helped more than deciding to spend less time sitting manipulating symbols on a screen and more time moving my body, more time in nature, more time with people. I've also resolved to stay away from toxic jobs, no matter how well they pay.