Usually, your doctor will recommend an antacid medication as one of the first treatment options for dyspepsia. Some examples of antacids include Zantac, Tagamet, Pepcid, and Acid. More powerful anti-acids may also be used such as Prilosec, Nexium, or Prevacid. Other options for avoiding or treating dyspepsia include avoiding eating late at night, relaxing after your meals, avoiding alcohol, quitting smoking, or avoiding spicy foods. Depending on how you respond to antacids, your doctor may continue to recommend you use them, as they are fast-acting, or may place you on a different medication altogether that is more effective for you.