Havin trouble with my periods

Last cycle I was a week late and it only lasted 4 days where my periods last 6 days, also it was painful the first day or two, well I started today 4 days early and IT HURTS SO BAD! I need advice, miscarried 3/29