Someone please tell me what’s going on

I was at work and I felt this pain in my side and then something came out of me and then I went to the bathroom and like tissue cane out of me. What could it be