The most common way to get HIV is through unprotected sex with someone who has HIV. If a person has HIV, the virus is in their blood and semen or vaginal secretions. It could enter another person's body through tiny cuts or sores on the skin or the lining of the vagina, penis, rectum or mouth.