A fool gives full vent to his spirit, but a wise man quietly holds it back.
Proverbs 29:11 ESV

"Don't hold it in" is usually bad advice. Hold your anger and frustration in when it threatens to break loose, and then find ways to alleviate the problem that caused it. Fools let their emotions out like children without regard to the consequences.