Birth Control Question

My doctor just started me on birth control. I ended my period thursday and she didn't want to wait the entire month for me to get started on it. she had my take my first pill friday (day after I ended). all the instructions say either first day of period or the Sunday after. will my birth control still be effective?