Tmi poop related!!!!

So my husband and I are ttc and I have been taking prenatals.... And started working... Then bam all the sudden constipation like no ones ever know( may be exaggerating a little).  But no exaggeration on this I went 7 days with no poop.... My bowels and tummy hurt so bad at the end of the day that I reached out to coworkers they suggested stool softeners and I tried them it worked. Not wanting constipation like that I took a break from the meds... Still nothing... At all.... I cut back my work hours and bam pooping like clockwork again... Can someone please tell me wtf... On the vitamins again with no constipation... Can stress stop you up?! Anyone else experiencing this?!?