How risky is it to have sex...? Period?

I started my period on Christmas day and the two day's before that we had sex... the first day we had sex with a condom and the second day we didn't but he didn't cum inside me because I finished him off some other way but he did put it inside me a couple times before i made him cum on Christmas I got my period which I was supposed to stop by the 29 he try having sex on the 29 but I didn't want to because I mean I was kinda Still in my period but it was already light ..on the 30 i wasn't bleeding which I thought but when it was time to get frisky I felt more wetter than usual and i realized that I was still bleeding very light so I thought it was okay to have sex today the 31 since the whole day i had little to no blood anymore I wasn't even using a pad anymore ..and he put it again inside for a couple of times without protection but again I realized it felt different but I didn't let him cum inside me ..and I finished him some other way ...and when I got up to use the restroom I noticed I had blood when I wiped .. so is that still my period that I'm not letting it stop since I keep having sex ?? And also is it okay to have sex while on ur period and not get pregnant ..mind you I never let him cum inside me .. I just let him get a few strokes...