How can you get pregnant

If you have sex three days on your fertility days and your ovulation day is in two days can you still get pregnant