According to the symptoms you reported it seems likely that you might have experienced a panic attack.
Panic attacks are very sudden, discrete periods of intense anxiety, mounting physiological arousal, fear, stomach problems, and discomfort that are associated with a variety of somatic and cognitive symptoms. This might have been a single panic attack related to the emotional meaning of the situation in which you were a participant.
However, if you experience other panic attack episodes soon then you might want to visit your family doctor for medications: anti-anxiety medications or antidepressants.