How do you cope with writer’s block?

I really don’t get the dreaded WB, but I do occasionally write myself into a corner. What that means is that I want to do something, but the rules of my world won’t let me. When that happens, I walk a circle in my living room or go to the gym. Whenever I take a step back and just let the characters run around my head without any real distraction, I can figure it out and get back on track.