improvised

1.

ngẫu hứng

to invent or make something, such as a speech or a device, at the time when it is needed without already having planned it:

:
I hadn't prepared a speech so I suddenly had to improvise.