Hi , You may be having a panic attack.It is not known what causes panic attacks.Underlying factors may include genetics, stress, and some change in the way parts of your brain work.
It can also be due to sleep disorders,or
thyroid problems.Consult a physician to rule out medical conditions.
Next Steps
Consult a psychologist for assessment and therapy sessions.
Health Tips
Regular sleep
Exercise
Progressive muscles relaxation