improvise

Definition

To create or perform something on the spot, without prior preparation.

हिन्दी पूर्व तैयारी के बिना, कुछ बनाना या करना

Example

"The actor had to improvise his lines when the script was lost during filming."