General Reminder: You are not obligated to be here everyday. You have your private stuff, which are more crucial, so don't be afraid to take a break. Length? As long as you need :) No worries. Your mental health is an important factor.
Instead of sitting in one place, try to go out. Enjoy nature or explore new hobbies. Analyze the environment. It sounds odd, yet it helps you to clean your mind and you think different - less overwhelmed and more energetic. If you have the chance, try to make yourself a nice break from the stuff.
I wanna make a post saying smth like “wow my mental health has been kinda alright lately” but then something is gonna happen and it’s gonna get really bad 5 seconds after i say that