A break and coming back with a different perspective is good.
Another thing I do is ask a coworker or a friend [such as many I have here!] to look at my problem.
It is very easy to focus on a problem from a specific point of view when the answer is from a slightly different angle.