Ovulation question

Can you get pregnant if you had sex the day before ovulation but not the day before like I only had sex once during my time being fertile ?