Can i get pregnant

J

I took a test on day 21 in the morning come back positive then i took another test in the afternoon come back negative i had sex that day can i still get pregnant