don't shoot off ur mouth when u r angry, pause urself and then converse in such a way that the other person understand ur disagreement/ anger and explain the reasons for the same.

better still try to find positives in such situations and cool off as some posters responded but that’s not practical in some cases