sex and ovulation

I had sex a few days before ovulation will I still be able to get pregnant?