I almost always listen to music when I write. I find that it relaxes me or puts me in the mood. I read a study that music can help you maintain attention to a task which is why good music in video games proves to keep gamers engaged and trick them into playing longer. Since I struggle with severe ADD, this has proven to be a good way of maintaining my focus, especially during the times when I don’t actually want to do any writing.