Everyone argues and/or gets into disagreements, but that does not mean it needs to end badly. Where things get bad is when people think they have to have the last word. You should say what you have to say and leave it at that.
Remember that the other person is also probably feeling heated, therefore you should keep into consideration that they may be saying things they don’t mean. Sitting back and thinking about the situation prevents you from saying something you may regret. So next time you get into an argument try collecting your thoughts instead of competing for the last word.