When you're writing, ask yourself if you're enjoying yourself. If not, ask yourself why. There are some times when writing is just difficult, but more often than note, if you're just not having a good time, it the piece isn't working, and you should try writing something else.