making it up as I go
Definitions
Improvising or deciding what to do while already doing it, rather than following a plan.
Inventing a story or explanation spontaneously, often without regard to whether it is true.
Examples
I didn’t have a plan, so I was making it up as I went.
She’s making it up as she goes during the presentation.