17 day period

Mary
I started my birth control a week before my period. My period lasted 17 days? Very painful, heavy clots. Very sexually active. Could this have been a miscarriage?