Think before you act. Ever since I was a teenager, I developed this habit of editing what I am about to say a millisecond before I say it. It saves me a lot of time by minimizing the instances of saying something ineffective, inappropriate or stupid.