Help what can I take for diarrhea

I have IBS bad and can’t take my medicine I was fine during my first trimester but now I’m in my second and everything goes straight through me not just food sometimes even water and it gives me severe intestinal cramps and diarrhea. What can I do to avoid this?