Sex day before ovulation

I had sex the day before ovulation and the day after can I get pregnant just as easy as doing it the day of