Have you tried going outside? It unironically helps a lot in getting your mind to function properly again. And I don't mean to become an extrovert all of the sudden. Just go for a nice walk, even if you are in a city. Have time, go see what you find interesting. Trust me, it can do wonders.