Yes, some antacids are considered safe during pregnancy. You can take them if your doctor prescribes it. Never take any medicines without consulting your doctor.