That’s a hard one.
My only answer is to wait as long as you dare before editing because that time will take you away from the process of writing and into the process of reading. Only when you look at what you wrote from the perspective of someone who has never read it before will you see what needs to be changed.
The good news is that it works. You’ll see those paragraphs that could be reworked to make more sense. And those that should be deleted because they are not needed and are confusing. And which parts should be switched around to lead the reader in the right direction.