Heartburn can be a common effect of pregnancy, as a result of hormonal changes and the pressure of the baby against the stomach. To treat this condition, you should consult a health professional, who, depending on the severity of the case, may recommend different options, such as calcium carbonate (mild cases) or sucralfate (severe cases).