Great answer thread on Quora about writer’s block. I very much agree with K.M. Weiland’s suggestions to ask yourself questions to answer and to show up every day are two big ones. Though I think Devin Friedman probably has the best answer of all:
Keep writing even though it sucks. In my experience, the most accute cause of writer’s block is cannibalizing your work. When you think it sucks too badly to keep going. Let it suck and move on, you can always go back and make it better.