Before you say something critical, ask yourself, "Will anything constructive come from my being critical right now?"

If the answer is "no," switch yourself in midstream and say something pleasant instead.