Confused

I just got my period and I had just had it a week ago. Could it be because I had just gotten off the pill??