Am I immediately protected if I started birth control 2 days after I started my period?

Jazmyn
My period began on the 22nd of March and I started my first pill on the 24th on that Sunday. Was I already protected that first week? Me and my BF wanted to be safe and just use condoms for the first 7 days.