Prilosec (omeprazole) gets rid of the burning sensation, yes, but it only makes the root cause of the problem worse. Acid reflux is caused by too little acid in your stomach, ... not too much. The reflux is caused by your stomach trying to spread the "too little" acid around like a washing machine on spin dry.
Omeprazole is a "Proton pump inhibitor, ... a group of drugs whose main action is a pronounced and long-lasting reduction of gastric acid production." (Wikipedia) Besides making the problem worse, the long term side effects of omeprazole are huge, (from kidney damage to irregular heart beat), and not worth the risk. Google it and see for yourself. Not to mention the growth of bad bacteria in your gut that needs stomach acid to keep it under control. The uncontrolled growth of the bad bacteria in your gut, (due to lack of stomach acid), can lead to all sorts of serious health problems.
A better alternative is Apple Cider Vinegar. I've been using it now every day for over a year. No more heartburn at all. It tastes like crap but you get used to it. I take 2 table spoons in a glass of water, once or twice a day. If I use it once, it is before bed. I usually mix a heaping big kitchen spoon of Metamucil in with it. The mix is good for you and makes the ACV taste a lot better.
Many brands of ACV are worthless. They are processed, pasteurized and the main beneficial nutritional and pro-biotic elements, (The Mother), are destroyed. Make sure you buy ACV "With the Mother" ... In unfiltered organic apple cider vinegar, this beneficial group of bacteria and acids remains and creates the murky web-like Mother. MAKE SURE it says "With the Mother" on any ACV you buy or you are just wasting your money. The best brand to get is BRAGG but WHITE HOUSE is also good.