Pregnancy question

Can you get pregnant if you have sex on your period? Sorry I'm knee to the whole sex thing