Most experts recommend that everyone who is sexually active be tested for HIV. People who are infected will be diagnosed early. That way, they can get the most benefits from treatment. They also can take steps to avoid spreading the disease to others. For example, a woman who tests positive for HIV during a pregnancy can take medication to help prevent her baby from becoming infected. Or, a man who thought he was HIV negative but finds out he is infected can take steps to avoid infecting his sex partner.