That sounds pretty much like a panic attack . Generally they’re not dangerous so long as you try and keep calm (yeah, I know, its hard).
Its always worth having a check over with your doctor to make sure its nothing more serious though. I used to have panic attacks quite a lot, and one thing that i found really helped me was Bachs Rescue Remedy – you put a few drops on your tongue when you feel yourself starting to get stressed, and it calms you down . Its widely available , and pretty cheap too .
References :





