I often write and edit as I go under the guise that I’ll be done with the writing process quicker. But as mentioned, this can be time-consuming to the point of missing out on getting the story done.
A couple of months ago, I spent an entire day on one paragraph. I wanted it to be perfect, but in the end I was frustrated, tired, and it still wasn’t to my liking. After taking a step back, I made a highlighted note of what I really wanted from that part of the story and then moved on to the next piece. It was hard to let it go, but to keep from hindering progress I had to do it. I managed to get two chapters written the next day.