Help!

Nicola
I'm currently 5w 2d pregnant. I've had no bleeding, only some light brown spotting occasionally. I had some cramping in the 4th week but not really anything since. This morning I went to the bathroom and passed what looked like a large piece of skin. It was pale white with a little bit of dark red blood in the middle. There was no bleeding with it and no pain. Was this a miscarriage or just uterine lining?