Miscarriage ??

Okay so I’m on the pill and my bf and I have been having lots of sex and he finishes inside me every time. I finished my pack for last month (July) and I didn’t get my period the week I was supposed to. I got my period august 2nd and it hasn’t stopped. I recently went to a new gyno and he changed my prescription bc he didn’t like the old one. I’ve been passing a lot of blood clots (big and small), my cramps get worse and worse every day, my back hurts like crazy, the blood ranges from brown to bright red and I’m just restless. I’ve read that it’s rare but the pill can cause a chemical abortion and I’ve also read that sometimes miscarriages can last 2 weeks maybe more if not aware of pregnancy. Idk what to do at this point but I’m literally exhausted from this. Is there any way to know if I am having a miscarriage?? Or is there something else wrong with me?