Thank you for the opportunity to help you with your question!
People who have STDs are more likely to get HIV ,when compared to people who do not have STDs
One reason is the behaviors that put someone at risk for one infection
(not using condoms, multiple partners, anonymous partners) often put
them at risk for other infections. Also, because STD and HIV tend to be
linked, when someone gets an STD it suggests they got it from someone
who may be at risk for other STD and HIV. Finally, a sore or
inflammation from an STD may allow infection with HIV that would have
been stopped by intact skin.
Some activities can put people at increased risk for both STDs and HIV
Having sex or oral sex without a condom;
Having multiple sex partners;
Having anonymous sex partners;
Having sex while under the influence of drugs or alcohol can lower inhibitions and result in greater sexual risk taking
Please let me know if you need any clarification. I'm always happy to answer your questions.