It could be a number of things, and it could depend on a few things.
I have given u a link for all causes of chest pain
and hopefully this should help you. I would've put them on this but it would be very long. I would suggest going to the doctor to get checked out as you may need stronger painkillers or antibiotics depending on what it is, although to put your mind to rest it doesn't sound like a heart attack
. It sounds more like a panic attack
or chest infection(I'm prone to both so know signs and symtoms