HELP!

J
I'm on the birth control and I've passed the 7 day mark since I accidentally took my pill late a week and a half ago. So today I has sex with my boyfriend, he didn't have his condom on yet and his penis touched my vagina like outter edge of it but never went in. I'm just scared, will the pill keep me safe? There was no semen at all, maybe pre cum but he urinated before that so.. But please help!!!