improvise
verb
°To make something up or invent it as one goes on; to proceed by guess rather than by a careful plan. To invent or create something quickly or without a plan; to wing it.
"He had no speech prepared, so he improvised."