Is this my mucus plug?

Trista

I just wiped and found this! I had to kinda pull it out, it didn’t just fall out on the toilet paper. I’m 36 weeks 1 day. I’ve been having contractions at night and slight back pain during the day. Should I call the doctor? This is my first baby.