Chest pain

So for a couple of days now I have had a pain in my chest. Not sure if is heartburn but it is agony. It’s like I can almost feel something coming up and then it goes back down right under my boob and by my rib cage. It is so painful I’ve been up crying all night is this heartburn? Should it be that painful that I’m up crying?