Desperately need help on the Writing test

I took a practice test recently and coming into it, I knew I was going to struggle. I’m not a bad writer in school, but that’s because we usually have a week to finish an essay. At the end of the 30 minutes, I only had an intro done and a couple sentences of a body paragraph. How can I improve and think of ideas faster, while successfully putting it on paper?