Miscarriage ?

I started bleeding and this came out it was in a sac type thing as you can see the bleeding lasted 9 days I never went to the doctors so I don’t know if thats what it was I’ve taken pregnancy test since this and they are negative