Major Stomach Issues

So I need to see if this is normal. Last night after dinner my stomach was SUPER upset (as it had been the last few nights after dinner). And I was trying to not throw up again because I had taken some antibiotics from the doctor that needed to stay down. And so I went to bed to try to sleep through the nausea. Well I woke up in the middle of the night with the worst stomach pain/stomach cramps. It hurt soooo bad. And I went to the bathroom and (tmi I’m sorry I’d ask my doc but it’s the weekend) I had horrible diarrhea - to the point that I was sweating like crazy and threw up a little bit. And then as soon as it was done everything was fine. Like my body cooled off and my stomach was fine and I was no longer nauseous or in pain. Is that normal for first trimester/diarrhea??