'Consult your heart and mind, before using your tongue'
Why did I put the heart first? Because it is known from a saying of 'Alī b. Abī Ṭālib, that intelligence is located in the heart (compiled by Bukhārī).
And not just that, the more sound your heart is, the more intelligent you will be. And usually people ruin the condition of their hearts through their tongues.
So just how he can ruin the condition of the heart by speaking first and thinking about it later, he can also reverse the harm by consulting his heart and mind first, before his speech.
If it is filled with anger, evil, corruption, abuse or wrongdoing, don't say it.
Whatever you say will have an impact on YOU the most.