on the fly

on the fly

Explanation: When you do something on the fly, you do it without preparation.

How to use it: [someone] does something on the fly

Example: I was a little nervous because I had to give a speech on the fly.