What I usually like to do is this: Once I create characters and a general idea of what I want to happen in the story, I make a timeline of all the most important plot events. Usually, I do this by chapter. For example: "Chapter 1: [this character] introduces themself through [this action]." (If you need a recommendation on how to do this: I often make a Google Sheet for it).
Once I sort out how I want the story to play out, I begin writing the story itself. If you get stuck somewhere, but have a really good idea for a later part, you don't have to write it all in order. You can place the event summary from the timeline in brackets where you get stuck, and write the part you have ideas for while they're still in your head. I find this to be extremely helpful too.
Hope this helps!