Depends.
Some writers work best slowly and carefully, deciding each and every element and making sure the whole things works together.
Others work best just sitting down and letting it all come out in one huge, whoosh.
It’s a personality thing, not a writer thing. So go with whatever works for you.