 Remember that if you're in a bad mood, it's still your responsibility to fix the bad mood. Now that doesn't mean you can't help or get help from people. That's what you have friends for if you're in a bad mood. But there's no excuses. You can't go up to your boss and tell him, hey, I'm in a bad mood. Or you can't go up to your client and tell him, hey, I'm in a bad mood. If that leads up to you not performing, because performance is your job. Their job is to help you perform. So use whatever means necessary to improve your mood. Cut off everything that destroys or lowers your mood like negative people, maybe bad environments, especially people. People are the problem almost all the time. And you'll be good and productive.