Hie , You were mentioning that your heart beat was pounding , it may be palpitation or increase in Heart rate .Palpitation is when you can hear your heart beats increasing, it may be due to any secondary diseases like Hypertension .But most of the time ,if it is seen at night time then it may be due to any slee disturbances or if you visualise any disturbing dream .If you are facing this issue frequently , then you can better consult a Doctor .One more thing i would like to mention that heart diseases are preventable if you take care of your health properly, do regular exercises,avoid fried fatty foods and maintain a healthy lifestyle.
Next Steps
Wait and watch ,if symptoms worsens then should consult a Doctor.