Best time to get pregnant

I’m so confused - my doctor told me to get pregnant I need to have sex twice a day for the first 5 days after my period ends, but that goes against everything else I’ve heard/read. Anyone have any info/ suggestions??