What I do is that I don't talk about it right away because if I talk about it right then and there, nothing good comes out of my mouth :D If I do talk right then and there, I say mean/hurtful stuff and sure it makes me feel better because that load gets off my chest but I say things that I regret later.
So normally I give it some time and in the meanwhile I cool down and I then talk about it to that person directly.
i usally do dat too.. but i still end up sayin sumtin really hurtful and den regret later on.. lemme jz calm down rite now.. have some icecream.. den talk to dat person.. shayad kuch ho .. lakin i doubt it.