The function of masturbation in males is to flush out old sperm with low motility from the male's genital tract. The next ejaculate contains more fresh sperm, which has higher chances of achieving conception during intercourse. If more than one male is having intercourse with a female, the sperm with the highest motility will compete more effectively.