You're writing a fantastic story. The characters are complex, the setting unique, and the plot intense. You have that incredible feeling of creating something amazing.
Finally comes the big climax. There's a huge battle. Your heroes have been surrounded by a crafty villain and her minions with no way out. You're on the edge of your seat. And it is at this point you realize you have no idea how your heroes are going to get out of this.
Oh crap.
You might want to bash your head on the keyboard or cry that you'll have to start all over. There isn't enough chocolate in the world for that.
But wait! This is the best thing that can happen to you.
I know it's hard to believe, but writing yourself into a corner will bring out the creative best in you. You must think outside the box to help your heroes save themselves. But, you ask, if you have no ideas, how do you do this?
This happened to me just recently, and it has happened to me before. Every time, I have a moment of panic. Yet do you know what saves me? The story itself.
I go back and read it from the beginning. The answer to save the heroes is always there. The story knows even if the author doesn't right away. Yes, it's as simple as that. At least for this pantser!
Have you ever written yourself into a corner? How do you get out of it?