Did I just have a miscarriage?

I didn’t know I was pregnant😢 Last night I started with lots of cramps and woke up with blood... i thought I started my period and went back to bed. This morning I went to the restroom again and this came out💔 could I have been pregnant? Or is this normal?