Instead of relying on a specific number of days, it's recommended to take a pregnancy test 1–2 weeks after missing a period. The sensitivity of pregnancy tests varies, with some allowing earlier detection. Alternatively, waiting at least 21 days after unprotected intercourse provides a reliable window for testing.