No period

I have cramps but my period is t coming down but I have been spotting a bit what can that be caused from ?