My own process is to write a fast first draft. I want to get the plot, characters and setting down in words. Then I go through many editing passes to clean up inconsistencies, improve the flow of the manuscript, fix errors and correct grammar.
The fascinating aspect of the writing process is that there is no one or correct way of doing it. We each find what works for us.