Can I take omeprazole while preparing for pregnancy? Find out how safe it is! Omeprazole is a common gastric medicine used to treat gastric ulcers, gastroesophageal reflux disease and other diseases caused by excessive gastric acidity. However, many couples have questions about the safety of medications during pregnancy preparations.