Help ?! Mucus

Earlier tonight I went to the bathroom and when I wiped I had some bloody looking mucus

I’m almost 28 weeks should I be worried?

I’m having some contractions but aren’t consistent with timing but the pain is getting less bearable but I can still feel my baby girl move and kick

I’m just scared

2nd time mommy btw