Learn A Lesson.
At the end of the day, no matter what happens with the conflict, it should have a learning outcome. Be introspective. Realize what exactly happened that made you react the way you did. Learn your triggers. You can use even bad experiences to ensure that you handle future conflicts better.
In the end, we are emotional beings working with other emotional beings. Self-awareness is how you can ensure that you maintain a good working relationship with your coworkers.