Tummy troubles!!

2 days of constipation and the worst stomach pain ever, and now diarrhea! I'm not sure which was worse! Is this normal or have I maybe caught a stomach bug? Also any pregnancy safe remedies? I'm miserable here!