The best thing to do is to try and control your temper as much as you are angry. You should try taking deep breathes or even go for a walk this will calm you down. Try not to act or make any decisions when you are angry.
it helps to know that in the future, you most likely wont remember this day and why youre feeling so angry in this moment. youll be feeling better with time. if it has do with someone at your school, you probably wont see them after you graduate ever again.