So, I've been thinking about my story, and suddenly I got inspiration for the continuation of the chapter (I'm not even sure what chapter it should be). So, basically, I ended with progressing 3 chapters at once in my head; Chapter 1 (which I'm currently writing), Chapter (expected) 3 and 5.
How should I handle this? I don't think this is just a distraction. The progression on the other chapters (I think) is valuable, and I'm sort of getting vision on how the story will end.
Should I write the first chapter first, and taking notes when the chapter 3 and 5 ideas come out? Or should I write whatever chapter is progressing faster in my mind?
Here's what it looks like:
(Chapter 1) Hmm... this gem can be an important object in Chapter 3 and 5. In Chapter 3, the character should take this gem and do the ritual, which turns out to be a failure in Chapter 5. To remedy this, the character should redo the ritual. Wait, there's only one gem. I should figure out how the character get two gems instead of one.
And so on, bouncing between chapters.