How soon can you test?

How soon can you take a test? Or how soon would a very faint positive show after having sex? Google says 1 week?