Taking omeprazole as part of prenatal care for a short duration usually doesn’t cause any major issues. The drug may cause mild side effects such as headache, flatulence, and constipation. Long-term use may increase the risk of gut infection, bone fractures, and vitamin B12 deficiency (18). Speak to your doctor if you have concerns about the long-term use of the drug.