How is it possible to get pregnant on your period?

If he comes in you while on your period? Surley there is no egg to fertalize?