Doctor told me I have gastroesophageal reflux, prescribed medication. But what do I do about diet?

Dietary changes. Try to avoid group of reflux-inducing foods (fatty foods, chocolate, peppermint, and excessive alcohol, which may reduce lower esophageal sphincter pressure). Also avoid spicy food, food with a very acidic pH like cola, red wine, orange juice. Stop smoking. Chewing gum or use of oral lozenges may also be helpful in mild heartburn dont lie down after meals and avoid meals before bedtime.