Write. Write. Write. Write badly. Write well. Just write. You can't sell a story that is still in your head. Sure, you may get rejected 5, 10, 5000 times but in the end you can't get accepted for publication or hit that self publish button on Amazon unless you have a manuscript that's complete and the only way to do that is to write.