Keep writing. You can edit bad writing. You can't edit nothing. I learned once that when you are struggling with where to go next, you put all your ideas down like spokes on a wheel. Then you can prioritize them without losing them because you can't move past the point you're at. If you're stuck where you are, move on and come back to it later.