Sometimes I sit down to write and everything flows like I'm just the medium for some muse or spirit who has things to say...other times, getting the words out feels like I'm trying to walk while dragging a load of logs behind me. I've realized that when that happens, it's because of two main things:
1.) I'm letting myself be too distracted by other things - social media, news, life's dramas. I fix this by disconnecting myself from the Internet and taking my Alpha Smart to some quiet place where I'm not temped to see what reply I've gotten to my latest FB posting about the Gaza Strip, for example. Or, if it's something going on live - I compartmentalize. I take note of it and file it away to be dealt with when my word count is near where it should be. (Of course, emergencies have to be dealt with on the spot but, thankfully, those are few and far between.)
2.) The other main problem is when I haven't done sufficient research into the background of the work at hand so I'm having problems envisioning the setting or my characters or reasonable plot developments. This is easily fixed by taking a day or two to immerse myself more deeply in the life of the characters - if the setting is somewhere other than where I live, for example, I may spend some time on Google Maps and Street View trying to see what my characters would see. I check out Wikipedia - not just the country itself or the city, but the things that have happened there recently, the foods, the language, the music, the flora and fauna. I watch YouTube videos. Usually, I emerge from this once again brimming with excitement and the will to write.
Other things I think would also help are taking a writing class, joining a writer's group, and reading or re-reading a book like Stephen King's On Writing. I was once a member of Romance Writers of America and I've kept a lot of the great motivational articles from writing workshops I attended online so I return to that folder every now and then and find them hugely helpful.
What do you do to get your mojo going?