It’s really hard to explain “how” I get my plots. I’ve been writing so long that ideas come from everywhere. For an example of how I got one idea and how I developed it into a book, check this post.
Once you have the idea, you just keep writing the story until it’s done. There’s no magic trick there. It’s simply a matter of saying “I’m going to finish this” and sticking to it.