Work in an industry, any industry, until you get a feel for how businesses currently operate in that space.
Find the things that are either repetitive or hard, or a different way of approaching the problems for these businesses.
Then you have your startup idea and know who your customers might be.