Tmi question, kinda!

Can i take pepto bismol while pregnant? My tummy is extremely upset today. In less than the 4 hours ive been awake this morning, ive went poop 3 times ):