Remembering that 'feelings are not facts' helped me do the right thing, that i knew was right in my head, even when it felt bad.
At times I would repeat it over and over. Even today, I still use that phrase as a way to remind myself to think things through and use my head before reacting.