The only way to determine for sure whether you are infected is to be tested for HIV infection. You cannot rely on symptoms alone to let you know if you are infected with HIV, because most infected people may not have symptoms for years after their initial infection. Some symptoms that may be warning signs of infection include weight loss, recurring fever, swollen lymph glands, pneumonia and diarrhea for an extended period.