Miscarriage?

Thought I started my period but this huge mass came out of my today..

Could it be a miscarriage or did my entire uterine wall just plop out?

I didn’t know I was pregnant if so...