Here's the secret: stories are rarely written from beginning to end without rough spots along the way.
This might sound obvious, but if you're a good writer it should never be obvious to the reader. Your stories should read seamlessly. I know the process is anything but seamless. Piecing Frankenstein's monster together was less daunting. You've got stitches all over the page. Scotch tape. Different colored inks. Scribbles in the margins. Stop and goes. And this is your third draft. But after that final draft, all of this must be invisible to the reader.
What you should take away from this is the understanding that you have incredible freedom as a writer. No one has to ever see your early drafts, your wastepaper basket full of crumpled paper, that climax that was so ingenious when you first thought of it but turned out to be a clich