自慰

masturbate, to console oneself