Spicy Food and Stomach PainsYou know when you dig into that bowl of piping hot and spicy Indian Dahl soup that it's going to taste good, but hurt so much later. When spicy food and stomach pains are the norm for you, you may suffer from indigestion or heartburn. You can usually treat both afflictions with over-the-counter medications.IndicatorsIndigestion includes an uncomfortably full feeling and you may experience a burning sensation around the center of your stomach. Similarly, heartburn can cause the burning discomfort you feel when you eat spicy food and then suffer from stomach pains. Heartburn involves the reflux of acid in the stomach into the esophagus.Food TriggersSome spicy dishes contain capsaicin, a chemical found in peppers, like habaneras and jalapenos that cause irritation in the lining in your stomach. In addition to chilies, ethnic recipes generally call for spices like cumin and curry. When you consume foods with these ingredients, stomach pains can occur.Prevention and SolutionWhen you eat spicy food and stomach pains occur, you may find comfort in non-prescription products such as Zantac 75, Mylanta or Pecid AC. Persistent spicy food and stomach pains problems may require a visit to your doctor. Your doctor may prescribe a stronger antacid medication for constant heartburn.When to Call a DoctorStomach pain triggered by spicy food may be an indicator of more serious health problems such as gallstones or gastritis. You should consult your doctor if you consume spicy food and stomach pains persist for more than 24 hours.