I found reading helped me. I would grab a book a read outloud from it, sometimes the same passages over and over until I could begin to comprehend them, and at the point where I could concentrate on the words enough to understand them I would be coming out of it.
Also, counting backwards, slow and deliberate breathing, and not being alone (having someone there with me that could help calm me).