I used to be very much seat of the pants but I generally like to have an idea of how the story ends these days.
I had too many experiences where I had 2/3 of a story but couldn’t finish it. And for novels—I definitely plan. Even though pretty much everything ends up changing.
I think you’ve got to have a plan, but be flexible.
That’s how it is for me, anyway!