Take a break. Thats really the only thing that helps. Work less in general or take some days off and SLEEP. sleep all day if you have to. Do nothing, do some self care.
There is no point in overworking yourself to the point where you arent able to work anymore for months. Instead take regular breaks for yourself.