Blood clot? Or something else?

This just happened I started having unbearable cramps so bad I was crying in a ball I sat in the hot bathtub for an hour an the only way I would feel relief from the pain is if I pushed an this end up coming out can someone please help me it don’t look like normal blood clots to me an also after this came out the pain is still there but not unbearable