Tmi , getting scared

Christine • 24 . Jersey .
So I'm 19 weeks prego and me and my boyfriend/baby's father just had sex a few hours ago and it kinda hurt so after we were done I was sore. I just took a shower , sat in the tub for a little because I wanted the warm water to kinda ease the soreness if that makes sense and when I got up i noticed their was something white with a speck of pink that must have came out , it was like the shape of a worm sorta, and I just peed and when I whipped there was a speck of bloode on the tissue, should I be worried ???? I'm going to the doctor Thursday tho