When I'm stumped on something, I go work on another thing. This applies for writing and any other creative art, like designing. Say I'm working on my house in Minecraft. I'm stumped as to where to continue, so I go work on like a chicken farm or something.
It helps because your mind is thinking about different things, giving your thoughts a rest, yet still staying active.