Drug Uses Prilosec is used to treat various acid-related stomach and esophagus problems. If you suffer from persistent heartburn (and have tried to treat it and changed your diet) Prilosec may be right for you. Prilosec ( Omeprazole ) is used to treat various acid-related stomachs and / or throat (esophagus...