No scientific evidence suggests that omeprazole causes any harm to the mother or the baby if the mother has a history of complications. However, it is best to consult a healthcare provider before using or discontinuing a medicine.