pregnancy test

Can you test 8 days after sex or would it come back negative

just to note I didn't put dpo because I had sex a couple of day before my period