Right word for "to do something without planning or preparing it first"

could anyone please tell me the word which means"to do something without planning or preparing it first"?

improvise, ad hoc, ad-lib, by ear, offhand, on the spot,