Some writers write a draft of the entire book, then go back over it and polish, which results in a second draft. Then go back again and do another polish.
I tend to write in segments. I write a draft of the first third of the book, then go back over that until I like it or until I go mad; whichever comes first. Then move on.
Edit, edit and edit again. Then take a leap of faith and send your manuscript.