In our office, we have "Quiet Rooms." Many people go there to grab a fifteen to twenty minute nap, but I find myself going there when the noise just gets to be too much.
I've found that many problems, even software problems, can be solved in a completely dark, quiet room. At the very least, it helps reduce stress levels and allows you to try to tackle the problem again when you get back with a fresh mind.