What is this??

This just came out of me after a course of the contraceptive pill. It’s like a flat sheet of skin. Definitely not like a normal blood clot. This also happened a couple of years ago to me which led me to believe it to possibly be a miscarriage but being on contraception It doesn’t quite make sense. Please help!!