Help ?

I’m 30 weeks pregnant & since last night I have a stomach ache, maybe something I ate.. can I take Pepto-Bismol? If not do you guys know of anything else I can take?