Is this a decidual cast??

I know it’s super rare to happen but idk what else this could be. I had severe pain last night like I swear to god it was like contractions, and was spotting and then today this came out of me. It’s almost the size of my palm. What do I do??