Do you know what is happening??(TMI but no picture)

I've always had a weird poop schedule and I don't do it as often as most people (every few days or so and sometimes there is a little blood when I wipe but very rarely is it more than that). These past few days I've had a crazy amount of lower abdomen pain and the first day I was like "I just need to poop" so as soon as I got home from school I did and it felt a little better. Yesterday it still hurt pretty bad so I went poop again and it was fine but I woke up a few times throughout the night due to the pain but everytime I went to the bathroom I didn't poop (both times I had done it in the past it was a lot and kinda like diarrhea but with a different pain and feeling) but today it hurt so much worse and every ten minutes or so I've been getting up and going to the bathroom just to try and poop but not being very successful. Now I'm sitting in the bathroom still trying to poop bc my stomach hurts so bad (worse than cramps but kinda like them) and I wipe and there is some weird slimy type stuff so I look in the toilet and there is just a red ball of slime stuff and i had to wipe multiple times to get all of the weird substance from off of me. I don't know what this is and I was wondering if I should be concerned? Does anyone know what it is??

As I was typing this I was sitting on the toilet and I wiped again just to make sure it was all gone and I look down and there is more slime/blood stuff in the toilet after just sitting there? Idk what's going on.