Can you get pregnant if...

Can you pregnant if you have unprotected sex at the first day of your fertile window? And in between if before ovulating?