When's the best time to have sex to get pregnant?

Keyanna
I've been doing some research. Some people say have sex before and during my fertile window. Others say, during the fertile window. Which is best?