Thank you for asking question on health care magic.
Dark stool and low hemoglobin
suggests bleeding ulcer in the stomach.
This is a cause for concern.
You need to consult a gastroenterologist
/ physician at your earliest convenience.
Dark stool may be passed usually after taking iron preparations
Hope this answer will serve your purpose
Please feel free to ask any more queries if required
Associate professor of pediatrics