Birth control

I've haven't started my BC pills yet but my doctor told me to start taking them when my period starts. If I start taking them before my period starts what will happen? My period is super irregular and could come at any time!