Effective right away?

If I started my birth control within 5 days of my period (day 4) and bled two days following the start of my birth control... was I protected right away?