Goo coming out of rectum?

I've been constipated for about 5 days now. I'm 9W2D I have took milk of magnesium it relived it for a couple of hours but then I became constipated again. I force my self to use the bathroom so the sharp pains can stop. My ob recommended durolax suppositories which didn't work that well. The pains aren't super bad anymore there lighter but hurts. I went to use the bathroom a little while ago I did force it out and I felt releif but when I wiped there was dark yellow goo really sticky on the toilet paper. I have used durolax since 2 days ago what can this be from?