Pepto bismol

Ash
Is it safe to take pepto bismol for diarrhea?