The only risks for HIV in adults are:
1) Having unprotected anal or vaginal sex, or
2) sharing intravenous needles with IV drug users.
You cannot get HIV or any STDs from someone's hand, or from any bodily fluid that might be on the hand. The only part of someone else's body that can transmit HIV is the penis, and in order to transmit HIV, it would need to be inside your anus without a condom. (or vice-versa -- your unprotected penis inside someone else's anus or vagina.)