Something happened, and your nervous system became excited. (Got rejected, AMOG'ed, whatever.) You are now in fight/flight mode and freaking out, so how do you calm down on the spot?

I am not asking how to avoid getting excited like that on the long term, but how to deal with after it has already started.