Help!!! Tmi warning!

I just wiped and this came out of me! I'm not quite sure what it is. My stomach has been killing me, I haven't had a period since I've been on bc the last few months. It's not squishy like a blood clot. This is rough and hard feeling. Any idea?! Side photo to show how thick it is.

Update. Passed a second within 15 minutes