Frustrating work confrontations can easily erupt into an exchange of angry shouts. Perhaps the worst mistake you can make during a confrontational situation is to lose your temper and say things that you'll regret later. At best, you'll appear emotionally frail or weak in times of adversity -- at worst, you could lose your job.
When an emotion-laden conflict emerges, take some time to look past any immediate feelings or reactions and identify the real issue that's causing problems. If necessary, disengage from the immediate situation, take a break and a deep breath, and analyze the situation before responding.
Setting aside emotions and being objective will help you resolve the bulk of small workplace confrontations without anger or lingering resentment on either side. You'll also project a deliberate, thoughtful manner that your co-workers will respect far more than a raging tirade.