When is the right time to get pregnant

Abigail

What actual time to have sex for pregnant. Is it before or after ovulation. I have tried for a year and four months but no pregnant