The offer of correction is also very important. Do this by explaining what you will do to compensate for your mistake. Make sure you admit your guilt also to those who witnessed your anger. You can also talk about what steps you will take to avoid losing your temper in future.
Be able to respond more constructively the next time
Try also to figure out what triggers you. To avoid losing your temper repeatedly, identify the factors that make you upset.
Maybeyou need to handle stress better, or you become angry when you feel under attack or vulnerable. Perhaps there are some specific colleagues who frustrate you. Determine the causes and then start working on addressing them.