How do you cope with mental burnout?

Like when you’ve been holding it together for so long and one week you burnout and isolate yourself from everyone else until you feel better. I’ve been stuck in burnout for 3 weeks and it’s frustrating.
How do you cope with mental burnout?
Post Opinion