pregnancy 👶🏻

I'm trying to get pregnant and I heard that you can only get pregnant one day out the month is that true ??? 
And when would the best time to have sex before my period comes or after ???