I was told once that I needed to have centuries of fictional history and already have pages and pages of lore about the politics and economics of my world before I started the first page of the first chapter. If that was true then I would never write. I find out all that stuff as I go.