Sex during period

Can you get pregnant, my boyfriend doesn't know if he pulled out in time.