Take responsibility for your words and your actions.
Take no blame for other people's words and their actions. Those are their responsibility.
Stay aware of the boundary between what's yours and what's theirs and don't allow yourself to be pulled into theirs if they blame you.
Nobody likes to see anyone upset and a good person's first impulse is to try and help. But if helping means you remove consequences of their actions, you'll only end up feeling powerless and responsible for things that are totally out of your control.