It differs from person to person. Some like to sit quietly and then think about how to process each scene and hook and nook. Some go with the flow, pantser writers of course... Some are like me, who think of half of the story, keep updating it, and then write with the flow. It's almost the same...