A blood test can tell if you have HIV infection. All pregnant women should be tested for HIV early in the pregnancy. Special precautions may need to be taken to protect your baby.