Constant abdominal pain 31 weeks

Hi- I'm having painful abdominal pain that is constant, feels like burning and my stomach is rock hard. What is this? Doctor said take mylanta- it isn't working.