Curious

Can you have sex with someone on the 20th and then test positive on the 26th? Is there anyway that is possible??