Try to change your natural behavior and to make a conscious decision to analyze if what you want to speak is appropriate to the situation at hand. An effortful pause will allow you to reflect and to be more rational in the moment.