4 weeks pregnant and had a horrible poop tmi

So my stomach started hurting a went to the bathroom and started number 2 but had the worse stomach pains while doing it kunda like cramps and it’s done now. My #2 was softer not hard of loose anyone gave this happen to them? Where you ok?