I've been listening to music a lot while writing. This is partially because my neighbor delights in using an incredibly loud lawnmower right next to my window. However, it's also a really good motivator. I find that I type a lot faster when I listen to upbeat music.
2. Take it one day at a time
Sometimes just thinking about the thousands of words you have to write can make the whole task feel much more daunting. Sometimes it's just best to focus on today's word count, and not to worry about your end goal.
3. Update your word count
I think I update mine every couple of hundred words. I find it really helps to see how much closer you are getting to your goal, and I feel like I've accomplished something.
4. Take a break
You're not going to get anything done by staring at your computer screen, and sometimes the best moments of inspiration happen while you're doing something completely different.