How safe is this?

Can you get pregnant if you have sex on the first day of your period?