It depends on the infection, but some STDs or STIs can lie dormant and undetected throughout a person’s life. This is one reason regular STD screening is important if you are sexually active.