Control Your Moods
A wise person can control his emotions and are not easily swayed by them. Moods can definitely bring weird impluses that are very uncontrollable. Intelligent people submit their moods to wisdom.
Do not live by your feelings. Instead create rational decisions over subjective deeds. It may not be easy at first but as time goes by you will get used to it since nobody got perfect in their first try.
We may have erratic and mixed emotions but they will never dictate our actions. Make sure to do the things that will make others feel better and will make you feel that you really are the one who is controlling yourself and not your feelings.