What is a "hand job"?
A"hand job" is slang for stroking a guy’s penis with the hand. Masturbation is when people touch their own bodies for sexual pleasure. When people stimulate each other’s genitals at the same time, some people call it "mutual masturbation".
There is no "right" way to touch another person's genitals—or your own—whether male or female, because different things are pleasurable for different people. The specifics need to be explored by each pair of people with honest communication. That means you have to try different things and ask your partner what he or she likes.