I find that I stew about it for a while - fantasize about revenge plots and "what if's." Then when the hot emotions dissipate, I can think about it rationally.
I'm sure there are more mature ways to process the emotions and thoughts. Fortunately, I don't get angry all that often. I guess it's a good thing I don't have ample opportunity to practice.