Switched birth control

Soláe

my doctor recently switched my birth control brand ( same type of pill different brand ) i finished my old pack and i have taken the new pack for 3 days. yesterday i had sex and was nutted in. am i still protected?