I have a few ideas on this.
One is preparation. So, if you outline before you write something, you are more likely to stick to a form of writing that closely mirrors your thinking about a given topic.
Idea two is doing things on time. Ideally, do assignments as early as possible so you stress less about them.
Three is experience, as in my life, the writing process has gotten easier over time.
Also, for me, personally, I find medicine helps (anti-anxiety meds) writing--but, in no way am I recommending this to you if you're not diagnosed with anything by a doctor and prescribed the meds, etc.