Yes this question has appeared here too many times. :(
As someone who went through depression/burnout/divorce at 40 I really feel for what you are going through.
I wish there was an easy answer. The bottom line is don't go through this alone - get professional help.
That said, I've been through a couple of periods of burnout/depression (I'm coming up to 56 now), here's what has helped me:
1) Long walks in the fresh air every day (don't underestimate this one!). 2) CBT. 3) Taking six months off work! 4) Travel and a new hobby (scuba diving). 5) Friends and family, especially my awesome brothers, and my partner of 12 years.
Take it one step at a time. Good luck!