If you're not infected the test can help you reduce stress and anxiety and to protect yourself. To be tested requires your informed consent . Which means you give your permission for the test, and your health care provider or testing site counselor has answered all your questions. Be sure you understand everything. HIV infection must be reported in some states.
Anonymous testing is available in some places.
Your name is never used. You use a code to get your results. You are the only person who knows your results. Positive test results also mean that you can infect others. It does not mean that you have AIDS or will get AIDS soon, though this may happen.