beat the meat
beat the meat {v. phr.}, {vulgar}, {avoidable}
To masturbate (said primarily of men).
"So what did you do for sex in prison for seven years?" Joe asked. "Well, unless you want to become gay, you can beat the meat and that's about it," Max answered.
Categories:
Source: A Dictionary of American Idioms