13w5d - stomach pain

I'm 13w5d pregnant and I have been super gassy these past few days and today my stomach turned into a knot and I had to rush to the bathroom! I have diarrhea now and slight stomach pains still.  Sorry, tmi. Do I need to be concerned about this?