Medication advice

So last night I had sex with my S.O. and he came in me. At the moment I’m not on birth control, I’m supposed to start when my period starts which should be in a couple of days. Is it safe to take plan B today and then when I start my period take the birth control?