What Kepler says is true, but if you are going to worry about herpes from a handjob, I suggest you find another hobby.
And if you do get it from a handjob, my guess is that you'll be able to find a support group. Approximately four billion people have it. (not a joke...actual statistic)
So watch whom you shake hands with, and be especially carefully of who makes your sandwiches.