Depending on what you're writing, you may or may not need to do substantial world-building. There is no reason to do more of it than required to make your story work (which may be a lot, or very little, depending on the story), unless you simply enjoy world-building for its own sake.