These guys pretty much said it all.
What also might help is to go back to the stuff you love, the stuff that made you want to get into music in the first place.
I find that helps me with my own writing (I don't write music, but what I do write puts me in the same boat as you) when things get grim for the moment.
__________________
|