Yes, but not all antacids are safe in pregnancy so u shoukd discuss with ur doctor for prescription of a suitable one for u. For heartburn prevention, eat small, frequent meals, avoid bending over after eating, raise ur head well with a pillow while sleeping, lie on ur left side, don't lie down immediately after eating, u can take milk or yoghurt for relief and u can also chew gum.
Registered Midwife