help idk if i’m pregnant or not

can i get pregnant if i just had sex with a condom on and i’m on my period? even though i took my birth control not at my regular time but i still took it?