I do what it seems like a lot here do. I daydream a lot, but don't necessarily use those ideas for stories. I think it just helps me learn to develop stories kinda like practice. Also try a bit of discovery writing even if you're not a discover writer. It'll help you come up with ideas.
Read books, go on hikes, talk to friends/family/neighbors.
Pretty much anything helps.