There are many stages: creative, editing, and publishing (the above can all be broken down even more, and this is often useful, but I had to stop someplace). Creative is the first state, just getting everything down. Editing is the details of making it correct (both fact checking and grammar). The publishing is making it all look nice. They are 3 separate steps that demand 3 different skill sets. You need to keep them separate.
Unfortunately the above is easially to say, but hard to force. If you are creating something you should stop if the facts are wrong (no point in continuing when you suddenly realize your argument depends on something that might be false) even though fact check is an editing process. You cannot refer to data in a chart until you create the chart. For many people a misspelling is something their brain will not ignore even though they know the word they mean and fixing it belongs to editing - your flow is already interrupted either way and not fixing it means the flow stays interrupted.
Unfortunately the above is easially to say, but hard to force. If you are creating something you should stop if the facts are wrong (no point in continuing when you suddenly realize your argument depends on something that might be false) even though fact check is an editing process. You cannot refer to data in a chart until you create the chart. For many people a misspelling is something their brain will not ignore even though they know the word they mean and fixing it belongs to editing - your flow is already interrupted either way and not fixing it means the flow stays interrupted.