Accident

I got my period 6 days ago it was supposed to end yesterday but I’m still on it... i had sex with my boyfriend today but the condom ripped. I just need to know the risks of getting pregnant even tho I’m still not off of my period.