When to start the pill

I just got the pill today and my doctor told me to take it on the Sunday after my period starts. So does that mean I have to wait until my next period to start it? Would it be okay to start taking it today?