Does Buddhism teach how to not be emotional and argue with people ? Is it possible to do?

I feel like I'm good at letting most things slide and not get under my skin. Most fights aren't worth it, you never convince the other person you're right, you can't control them, and I don't need to satisfy my ego.

Still there's times where things get heated and you argue with people. I don't know if thats just life or if there's ways to be free from it and at peace . I feel more in control when I don't try to. Its when I do that I don't.