On the pill. Can I still get pregnant while I have my period?

Hi! I'm currently on the pill Lolo, and have been for the past year. I take it everyday at the same time and when I start the sugar pills that allow me to have my period, I still sometimes have sex with my boyfriend. We don't usually pull out so I just let him finish inside of me. But I'm wondering while I am on my period, can I still get pregnant or does the pill still work?