Upset stomach

Anything you can take for an upset stomach while 35 weeks pregnant? I have diarrhea and a hemorrhoid and it’s miserable!!