The only times I've been blocked, it was when we had deaths in the family.
I always remind myself to be kind to my creative self. I imagine the muse as a small child who has unfettered imagination and is very playful. Scolding or punishing it won't help.
I go and exhaust myself physically, read a lot of books that take me away from my situation, or do some other creative thing like baking or sketching-- I'm not an expert at either, but they relax me.
I try and do timed writing, and gradually coax myself back into my writing routine.
But that's just me, and different writers do it differently.