Please help!!!

last night my boyfriend and I had sex 

he used a condom but he found out this morning it broke. I asked him last night and he said it didn't don't worry.

he didn't come inside me but he did come on my lower back 

I'm afraid that I am pregnant and need advice asap still only 17 and my parents will kill me 

Also how effective will the pill be