>>11817919In what context is this? Are you a PhD student? If so, consult your adviser. I'm surprised you made it this far without an idea. Sometimes advisers straight up give their students a project and sees where it goes. I found my exact topic by reading papers, consulting with my adviser about open problems I saw in the literature, and then solving those problems after receiving encouragement. Rinse and repeat. Your adviser is meant to help you do this, but if you really cant find an interesting question to think about, you might be need to self reflect.
If you're looking to apply to a PhD program, well, start by talking to professors in whatever field you're in. Skim their papers. It's not imperative you know exactly what you wanna do, but at some point you need to pick someone to work with, and choosing someone means choosing to work close to their research. You dont necessarily have to pinpoint a topic, but you need to establish with someone that you're interested in studying things related x and/or y, possibly for reason z.