Some researchers found that circumcised men were more likely to get HIV. Other researchers found that uncircumcised men were more likely to get HIV. Still others found that uncircumcised men were more likely to get HIV if they live in Africa, but less likely to get HIV if they lived in America.
So there is a lot of conflicting research out there. Most of the research suggests that uncircumcised men are more likely to get HIV, but most of that research was done in Africa. That means it may or may not apply to people in other countries. One study suggested that there could be a difference due to hygiene differences in countries.
Keep in mind that a person can only get HIV if they sleep with someone who has HIV. That means circumcising or not circumcising the penis is not going to mean anyone will magically get HIV or be magically protected against HIV. That means anyone can get HIV if they sleep with someone who has it, circumcised or not.