Writer's blocks are a lot like roadblocks in that you find yourself suddenly stuck in the middle of nowhere, and you can't get out. The problem is in both cases, the more you focus on the fact that you're 'stuck', the more frustrated you get, which in turn makes the whole ordeal even more frustrating. And if you're a writer, that's when you stare at a blank page and contemplate banging your head against the wall until an idea pops out.
Of course, you should never bang your head against the wall. You got precious stuff going on in there, and you might damage it. There are other, more productive ways to get past the block if you want to make any progress.
The first is to calm the fuck down. The more angry and anxious you are (this applies to most problems) the worse everything will seem. As humans, we tend to get wrapped up in our minds, and suddenly we're falling down the rabbit hole of craziness. You can't do that. The more you think about how you're not accomplishing anything, the more you'll not accomplish anything.
The second thing you need to do is get back to your center. What is your center? It's the place where you feel balanced. Some people get there by exercising while others meditate. Some people might do it by staring out the window at nature (if you happen to have any nature out your window) while others might do it by playing a video game or reading a book. The key is to distract your mind from the craziness. Maybe you're overtired and need to take a nap. Everyone is different.
I need to have headphones on when I write. I listen to music that tends to be calming (nothing with lyrics) and try not to think about anything else going on that day. It's better if I don't have time restraints too, so I'm not looking at the clock trying to rush like a maniac. The key is to be relaxed and really to listen to your inner voice. The creative world is very mysterious, which is why artists tend to be so infatuated with the entire process. We don't know where those words, characters, or creations come from; they just arrive. Your job is to open the door so that they can get in.