Sex and pregnant

So it’s best to have sex when I’m ovulating in order to get pregnant?