Is spotting normal?

Is spotting normal? I’ve just finished my period a few days ago and then today I noticed a little bit of spotting I’m on the pill but haven’t been taking it at the right time cause of different finish times at work could that be why I’m spotting?