Period sex??

Hi, I’m on the pill and I take it correctly. I was wondering if I’m protected if he cums in me while I’m on my period. I just started my period yesterday and we had sex without him pulling out.