On days where things don't just work out right, I try to remind myself of this Ralph Waldo Emerson quote:
"Finish each day and be done with it. You have done what you could. Some blunders and absurdities no doubt crept in; forget them as soon as you can. Tomorrow is a new day. You shall begin serenely and with too high a spirit to be encumbered with your old nonsense."