You just have to learn to walk away. Your creativity needs to rest sometimes. Sometime for a few hours, sometimes for a few days or even weeks. I've written myself into a corner so badly that I thought I was going to have to junk an entire book. I walked away from it for several days. When I came back to it, the ideas just flowed like a river. It was a magical time!