Did I take it took early?

My bf and me had unprotected sex. 6 days afterwards, it was my period due date, and it didn’t come that day, so I took a pregnancy test that night. So I took the pregnancy test 6 days after unprotected sex and on the day my period was due. I got a negative. Did I take the test too early? Could it possibly be a false negative? I have no idea..