Thank you for your query.
Well whatever history you are giving coorelates with panic attacks which can be because of increased anxiety
levels due to various causes . Dont be scared and try to find the reason behind this .
I advise you to consult a psychiatrist
for expert advise . You should undergo full health checkup , specially thyroid function tests
and 2D ECHO to rule out palpitations causes. If you suffer from panic attacks behaviour therapy
besides medicines can be of lot of help.
Hope you are satisfied with the answer.
If you have any further queries feel free to ask.
Wish you good health.