Gastrointestinal symtoms

I'm in my 5week and I've started to have diarrhea. Can I take medicine for it or not?