context: var s_context; s_context= s_context || {}; s_context['wb.modimp'] = 'vidfloat'; if(webmd.useragent && webmd.useragent.ua.type === 'desktop'){ webmd.ads2.disable Initial Load(); webmd.ads2.disable Ads Init = true; $(function() { webmd.p.pim.increment(); $('.responsive-video-container').insert After('.module-social-share-container'); require(['video2/1/responsive-player/video-loader'], function(video Loader) { video Loader.init({ autoplay: webmd.useragent.ua.type === 'desktop' && ! !s_sensitive, chron ID: $('article embeded_module[type=video][align=top]:eq(0)').attr('chronic_id'), continuous Play: true, cp Options: { flyout: true }, display Ads: true, mode: 'in-article', sticky: true }) }); }); } else { $(function(){ $('.responsive-video-container').remove(); }); } Describing your symptoms may lead your doctor to suspect that you have a peptic ulcer, but it will not likely help determine the type, because the symptoms of stomach and duodenal ulcers are so similar. To make a specific diagnosis, your doctor may conduct several tests. Endoscopy, in which a flexible fiber-optic tube is inserted down the throat to give the doctor a direct view of the inside of your esophagus, stomach, and duodenum, is the most accurate diagnostic test to diagnose a peptic ulcer. This allows the doctor to determine the presence and cause of bleeding and test for any bacterial infection. During this exam, your doctor may also conduct a biopsy to check for cancer. For people who can't have an endoscopy, a barium swallow (or upper GI series of X-rays) can also allow your doctor to identify and locate the ulcer and determine its type and severity. The test requires you to drink a "barium milkshake," which has a liquid that will show up on an X-ray. You may be asked to eat only bland, easily digestible foods for two or three days before the test. After drinking the chalky liquid, you lie down on a tilting examining table, which evenly distributes the barium around your upper digestive tract and allows the X-ray to capture images at different angles. Medications are usually used to treat mild-to-moderate ulcers. If the cause is bacterial, antibiotics can help cure the ulcer. For recurrent, severe cases that do not respond to medication, surgery may be necessary. Although alternative therapies have been shown to aid in the relief of symptoms, they should be used only as supplements to conventional treatment. You should not treat an ulcer on your own without first seeing your doctor. Over-the-counter antacids and acid blockers may relieve some or all of the pain, but the relief is always short-lived. With a doctor's help, you can find relief from the ulcer pain, as well as a lifelong cure from the disease. The chief goals of treatment are reducing the amount of acid in the stomach, strengthening the protective linings that come in direct contact with gastric acids, and -- if your ulcer is caused by bacterial infection -- treating the H. pylori infection with medication. Your doctor will likely prescribe triple therapy which is a combination of antibiotics, such as amoxicillin and clarithromycin, along with a proton pump inhibitor, such as omeprazole ( Prilosec) or esomeprazole ( Nexium). Metronidazole ( Flagyl) can be substituted for amoxicillin in patients who are allergic to penicillin. In patients who have been repeatedly exposed to these antibiotics, or in areas where there is resistance to clarithromycin or metronidazole, quadruple therapy with bismuth ( Pepto- Bismol), a proton-pump inhibitor, and 2 antibiotics (like metronidazole and tetracycline) is more effective. Regardless of the regimen, all medications should be taken for 10-14 days. Surgical treatment of peptic ulcers is reserved for ulcer disease unresponsive to medical management or emergency treatment of complications, such as bleeding. If your ulcer is hemorrhaging, the surgeon will identify the source of the bleeding (usually a small artery at the base of the ulcer) and repair it. Perforated ulcers -- holes in the entire stomach or duodenal wall -- must be surgically closed. This is an emergent procedure. In some cases, an elective surgery to decrease stomach acid secretion may be necessary. However, you should have an in-depth discussion with your doctor as there are many potential complications associated with the procedures, including ulcer recurrence, liver complications, and ''dumping syndrome,'' which causes chronic abdominal pain, diarrhea, vomiting, and/or sweating after eating. If you have an ulcer, be cautious when choosing over-the-counter pain relievers. Aspirin and other nonsteroidal anti-inflammatory drugs ( NSAIDs) such as ibuprofen may not only irritate the ulcer but also prevent a bleeding ulcer from healing. Avoid powdered headache medication as well, which usually contain powdered aspirin. Your best choice may be acetaminophen, which does not cause or promote stomach ulcers. Don't overdose on iron supplements. Although people with bleeding ulcers can develop anemia and may need to take iron as a treatment, taking too much can irritate the stomach lining and the ulcer. Ask your doctor how much iron you need. Learn how to deal with stress. Practicing relaxation techniques -- including deep breathing, guided imagery, and moderate exercise -- can help alleviate stress and promote healing.