When to start taking the pill

Hi so I’m about to start taking the contraceptive pill, the doctor said I have to wait till the first day of my next period but my period has just finished is it ok to just start taking it or do I need to wait till next month?

Thank you!