In pediatric medicine, bismuth compounds are primarily used to treat acute gastroenteritis, mild to moderate diarrhea, and to help with symptoms like nausea, heartburn, and upset stomach. They are often considered when other medications are either inappropriate or ineffective.