I usually go through two or three passes through the story, fixing things up, and then it is done. Finally, I send the story to a magazine or anthology that might publish it. But that's how I market the thing, not how I write, so I'll stop here. There's no big secret to writing, although some writers make out like it's some holy ritual. You just do whatever feels right to you.
Experience is the best teacher.
Don't worry if another writer does things differently. Some outline, others write off the top of their heads. Some write quickly and clean up later, others write slowly and carefully and revise only a little. Some research a story to death and other just wing it. If you want to write, just write, and eventually you will find what works best for you.