Please help

I stopped taking the pill last month. I was supposed to get my period yesterday but instead I had very light spotting. And nothing today. Could this be because of not taking the pill?