Back pain and chest pain

So I get a really weird pain next to my heart. Sometimes entire chest hurts sometimes just heart. Some times when I get the pain in the front I get a sharp pain in the back same time. It’s diagonal. What’s this pain I’m 28 weeks?