The black stools (melena) combined with abdominal pain strongly suggests upper gastrointestinal bleeding, which could be due to:
Peptic ulcers in the stomach or small intestine
Gastritis (inflammation of stomach lining)
If you are not on any iron supplements.
An upper endoscopy is strongly indicated in your case because:
It helps evaluate upper abdominal pain and identify the source of bleeding
It allows direct visualization of the digestive tract and collection of biopsies if needed
It enables immediate therapeutic intervention if active bleeding is found
Next Steps
This requires urgent medical attention - please do not delay seeking care as upper GI bleeding can be serious
Until you can see a doctor:
Stay hydrated with clear fluids
Avoid NSAIDs like ibuprofen
Monitor for additional symptoms like:
Severe abdominal pain
Dizziness/lightheadedness
Vomiting blood
Fever
Health Tips
Foods to Avoid:
Spicy and fatty foods
Dairy products (except plain yogurt)
Caffeine and alcohol
Raw fruits and vegetables initially