Proofreading, for example, is obviously part of the writing process, but requires a very different state of mind than the attempt to find the right words.
Select which tasks to do at which times. Write when in the most creative state, and proofread in a different state.