Spotting

I had my period a week ago and it last for eight days when it usually last three. Now I am having spotting for the last week. What could be cause it???