Most probably you are having panic attacks.
if the symptoms are recurrent and have been there for more than 2 weeks, consult a Psychiatrist.
P.S.- nothing to worry about, it totally resolves with treatment
Disclaimer:- Nature of all the advices provided on this platform including Expert’s are for general information only because complete detailed clinical work up of individual not done. These advices in their all aspects are not substitute for Professional Medical Consultation and are not valid for MLC (Medico-Legal cases). All individuals are advised to consult nearest specialists.