Omeprazole is a medication which reduces the amount of acid produced by the stomach; it achieves this by directly inhibiting the cells in your stomach which are responsible for producing stomach acid. It is used to treat a number of conditions related to the excess production of stomach acid including indigestion, acid reflux and heartburn.