To stimulate one's own genitals for sexual pleasure. He often masturbates to relieve stress.
To manually stimulate another person's genitals for sexual pleasure. She masturbated her partner until he climaxed.
Figurative: to engage in self-indulgent or pointless activity that gives personal gratification. The critics just masturbate over obscure details instead of addressing the real issues.