Confused

Hey people just a short question my period wasn't due till next week and then yesterday It came week early :( and today it has stopped why could this be thanks :) did have a mc in August but thought it sort it self out my now :/