upper abdominal pain & pregnancy

Zolivia
Hey guys! So I'm super paranoid. Last night I went to wasabi to eat and later that night I had super bad heart burn! Then a little later I had pain at the top of my stomach beneath my boobs! Do you think it could've been caused by the heart burn ? I'm 24 weeks pregnant and been having heart burn for weeks but that's the first time the top of my stomach has had a pain like that