I don't really formally 'edit', and that's because editing is kinda baked into my writing process itself.
My process is very... chaotic. I'm not a proper pantser - I mostly know where I'm going with my story - but I script whatever scene pops into my head at the time, between whatever characters, in whatever order. This all gets thrown into one giant 'note' in my phone. I'll read through these snippets occasionally, replay them in my head them, add new snippets, change old ones to reflect newer ideas... Some get changed a lot, others, not at all. Some I abandon entirely.
When I start a new chapter, I'll go through all the snippets which, chronologically, are supposed to go in that chapter. I'll copy them out to Scrivner, arrange them in order, add whatever connecting tissue they need between them, make sure they flow well and make sense, and that's basically my script done.
Where writing ends and editing begins in that mess is... very fuzzy. 