My method goes against most writing advice, but it works for me. I do a lot of editing as I write my first draft to ensure the chapter is doing what I need it to within the wider story and flows properly. Once I have a first draft done, I do a pass with Grammarly to catch any grammatical errors...