Keep at it, if an idea doesn't work? Try something else. Keep notes, keep a diary. Write before you write.
I have two notebooks full of plot ideas and notes for chapters. I use spreadsheets to track troop movements (esp. for Clover Spear). Planning your story will always improve it.
That...