Notice an upsetting emotion. Taking note of what it is will help you compartmentalize and stop the feeling from infecting your entire mood.
Be your own good mother. Encourage yourself as you imagine a good mother would.