What can you take for diarrhea ? Help😫

Maria

So I'm 14 weeks pregnant exactly and I've had diarrhea for the past 2 days and I'm not sure what I ate or if I'm getting a stomach bug but I had an appointment with my doctor and she said to try to intake more fiber. And I read that you can't take pepto during pregnancy and she agreed that I shouldn't. I asked her if immodium was OK and she was kinda iffy about it too. She said to just take half of the pill if anything and see how it goes. I feel I've tried everything but nothing seems to help. I really don't want to end up going to the ER if it continues too much. What else can I take to help with diarrhea?