A phrase used do to the pre notion of someone saying something stupid, obnoxious, rude, or negative.
Matt walks in the door with a disgruntled look on his face. Liz is getting the kids ready for bed. The dishes aren't done.
Matt: thinking to himself "why aren't the dishes done?"
Liz:" shut your thoughts up!"
A great way to greet your boss or other superiors
Boss: Hey Mike!
Mike: Shut up retard!