To stimulate or please oneself in an unproductive or idle way.
To masturbate.
To manually stimulate someone sexually, generally a male.
To harm oneself.
Physical or verbal maltreatment of oneself.
Injury inflicted deliberately upon oneself, especially resulting from a mental disorder.