Spotting on mini pill

I have been taking the mini pill for over a month now and have had my period is last 9 days there a week ago but now yesterday i have been bleeding again,have had unprotected sex a good bit too do u think its my body just getting used to pill ?