POSSIBLE MISSCARRIAGE

I️ should’ve posted this earlier but last month I️ thought I️ was pregnant after having unprotected sex but I️ was going to wait and test after I️ missed my period..so the date I️ was supposed to get my period comes around and I’m late for the first time..and so I️ said hey okay I’m pregnant..I’ll let thanksgiving pass and go to the doctors. I️ also had sex 2 days after being late and it had never been painful but it was this time. And well let me tell you, that week was absolute hell. The worst pain I️ had ever felt “cramps”..I’ve never given birth but it felt pretty close to what people describe it as..I was nauseous lightheaded..felt like I️ was gonna pass out and just crying for days..Well on the 6th day of being late I️ have clear discharge a lot of it. Then brown and finally red. So I️ waited it out and it was my period or I️ thought it was..and I️ continued as normal..could this have possibly been a misscarriage?? Now that I’m thinking about it..