Male masturbation is the manual stimulation of the male genitals for sexual pleasure. Masturbation, both male and female, generally occurs outside of coitus, and may sometimes be used during foreplay. Often, male masturbation is done to achieve orgasm.
There is a long list of euphemisms for male masturbation.