You'll have days of complete lack of faith in your abilities. But you have to keep coming back. That's when you know you're a writer - when you take the failures and appear at the desk again, over and over again.
It's funny how it usually works out that I end up dying. It sort of works out, because by the time I die, I'm usually tired of working on that particular movie, so I look forward to it.