TMI..... mucus plug/bloody show!

I woke up hurting went to use the bathroom and this came out with some blood should I call my doctor???