Freaking out

I'm in the ER because I went to my ob appointment today I'm almost 32 weeks and the baby's heartbeat was irregular it was jumping all over the place. I'm freaking out. I was suppose to get taken back right away but I'm still waiting in the waiting room. The baby is moving and all but my stomach keeps getting tight. I'm scared.