This brief video explains that research and topic selection are a cycle. You may need to adjust your topic by narrowing and/or expanding it before finalizing it.
This tutorial takes you through the process of selecting a very broad idea for a topic, to formulating a research question, then writing a thesis statement.