Miscarriage?

My period was 2 weeks late so I thought I was pregnant I took a test and it read negative and later that day I started my period, I've never had such terrible cramps and clots coming out of me. Could I have been pregnant and miscarried or late ovulation? I've had my period for 5 days and it's still not letting up I feel like I'm bleeding too much and I'm cramping to the point that I'm crying. 
FYI I was having unprotected sex and I know the consequences before I get greif for asking this question. 
Serious answer only.