You can also take a combination of medications (under medical supervision) like a proton pump inhibitor such as omeprazole,
lansoprazole or pantoprazole empty stomach in the morning and an antacid gel after meals or H-2 blocker such as ranitidine for complete relief. However, please consult a doctor before starting these.
Apart from this your doctor may do barium meals X-rays, endoscopy, carbon urea breath test (to rule out H pylori infection), celiac test, etc to reach a diagnosis.