Spotting

I have been spotting for 10 days now and I am just curious to know have any of you had this problem and what do you think is the cause for this? I was supposed to come on last Sunday and instead of coming on I just been spotting.