can you get pregnant?

Can you get pregnant while on your period? I had unprotected sex with my boyfriend yesterday and he came in me, can I get pregnant?!