I constantl had panic attacks before I got pregnant I still have them and heart palpitations my doc said there nothing to worry about as long as they don't last more than ten minutes if they do you should call the hospital, anxiety isn't good on a baby they might refer you to a special therapist there's some things they can do for you if they think you really need the help to stay calm.
I just had a mild hot flash or anxiety attack. I became hot and my chest tighten and my heart was racing. So I drunk some water and my body calmed down.