spotting

i started spotting a week before my period & been having back pains what could this mean?