Is birth control effective straight away if you take it on the first day of your period?

A

I’ve just started to take the contraceptive pill (Rigevidon).

I took my first ever pill on the first day of my period.

On the fourth day of taking the pill, I had unprotected sex (he ejaculated). Would I still be protected?