When is it safe to test?

I had sex on the 11th (pull out) is exactly 3 weeks post sex too early to take a test? I’d like to take one tomorrow morning to make sure I’m not but want to know if a urine at home test would be able to detect exactly 3 weeks out from sex. Or do I need to wait?