What’s going on?

Woke up this morning with dull lower back pain. Went to the bath room and when I wiped there was a chunk of mucus, I’ve been losing pieces of it for two days now, but this chunk looked more greenish 😖. Back pains seem a little stronger now and when I went to the bathroom this last time there was a little blood, no mucus though. Also when I was going to the bathroom it literally felt like something popped in me. No leaking since so I don’t think it was my water breaking. What’s happening? 😬 My c section is scheduled for next Monday. 38.3 weeks today.