Pap smear/annual checkup

Okay so I have heard that you cannot have sex for 48 hours before your annual exam/pap smear at the gyno. Is this true??