It depends on what you want to write.
First, start with the setting. Choose what you want to use, the era used, the level of technology, sci-fi or fantasy or real world, even the religions. Now, depending on the genre of your story, a few things will change. For example, if you go for an action...