It is generally recommended to go to the hospital for HIV testing 4 weeks after the high-risk behavior, because most hospitals in China test for HIV, and HIV antibody testing is the gold standard for HIV infection diagnosis, but it takes about 3-4 weeks to be detected in the body of the infected person, so when the patient has a high-risk behavior, he should go to the hospital for testing after 4 weeks, when the window period for HIV has passed. Therefore, when a patient has had a high-risk behavior, he or she should go to the hospital after 4 weeks, when the window period of AIDS has passed. If the test is negative, HIV infection can be ruled out, while if the test is positive, a confirmatory test can be performed to determine whether the patient is infected with HIV.