WHAT IS HAPPENING

Ok so I had a period that started June 30 and that started early by 5 days and lasted till the 5th it was medium flow and I had clots I messed around maybe 3 weeks before but my stomach is hurting I read that you can be pregnant and have a period so what would my chances be ???