To masturbate.
To stimulate or please oneself in an unproductive or idle way.
To manually stimulate someone sexually, generally a male.
Used other than figuratively or idiomatically: see touch, oneself.