Pill effects

How many cycles does the pill affect? I took it 2 months ago, the period came 10 days before, should my period be regularized now? It was my first time, and I'm scared, tbh...

I was regular before that