Depression has been seen to be a possible proponent of HIV risk behavior among drug users and homosexual males. The study indicates that Seattle males are more likely to infect other with HIV when they are depressed. Interventions to deal with the depression are recommended. 

https://guilfordjournals.com/doi/abs/10.1521/aeap.15.1.81.23842