Pap Smears and Sex

Is it ok to have sex before a Pap smear? Will it effect the results in anyway?