Please Reply!!TMI

I have pcos and im not late if i am im probably a day or two im 5days late took a test its negative now my question is if i had sex last night around 12am and took a test at 6am would this cause the test to be negative??!