Practice! Go back and rework older documents - it’s hard to edit something you just wrote. Time between writing and editing will give you perspective, and help you understand what to do better in the future.
Reading about writing will help too. “The Elements of Style” is great, as is Stephen King’s “On Writing” (for the latter, ignore the parts focused on fiction).