Pap test coming up

Hello! So I have my pap test on Wednesday. I am curious if I can have sex from now until the test? I've been told no sex 2-3 days before the test because sex can cause irritation and semen can cause the test to come back abnormal. But then I hear that women hasn't been told that at all. So I'm confused.