Question about birth control

I’ve been taking birth control for over 6 months now. As of right now I am on my period but it ends in two days (right when I start my new birth control packet) I was wondering if im still protected if I have sex on my first day of getting back on the active pills after having taken the white pills for a week straight