I will take as an example the first draft of the fantasy novel that i almost finished (My first book).
At the start i really didn't know where exactly the story i had in my mind was heading.
I had a very rough outline of the story, which changed drastically as i continued to write the book.
After 50 pages approximately i realised the core ideas that my whole story had to contain.
At those 50 pages i did a lot of revise and editing because i felt were very weak when i first wrote them without doing any editing.
So for each story arc after those pages, i made detailed outlines before writing those arcs, which helped me a lot to progress fast with my work and also be consistent.
The start of the book was very fun until i realised my mistakes.
Then i needed much time to do those important revisions, this was one of the frustrating phases while i was writing the novel.
The middle was easier than the start because the outlines helped me a lot!
Though i tried many ways to make the middle story arcs more interesting than simple filler arcs for the story, so a lot of time invested there too.
When i finally reached the end of my story i felt very confident about my work.
The process from writing the end of the story, until it reached its climax, was a lot easier to write, because i had a very clear idea how the book should end from the start and i am glad the story will end this way.
Right now i am writing the climax of my story.
There are still three small chapters to finish the first draft of the whole book, but i have the detailed outlines i wrote to help me on the way
There were times that the process was both frustrating and tiring, but i believe that the final result will give me the same amount of satisfaction as the difficulties i had to endure to write the book.
Personally i enjoyed the whole process andi will be glad to do it again in the future