What is this?

Idk what this is and I’m grossed out. I’ve been having pains in my right abdominal side. Then I peed and this came out. It looked kinda bloody