Spotting again!

So the last 2 months I've had spotting about a week before my period. ....then right on schedule I get af! Any ideas what's going on with the spotting??