16 weeks and have dirreaha and cramps

Is there anything I can take for it? I must have ate something that didn’t sit well with me. Now I’m so miserable and can’t stop running to the toilet. And these cramps 😭