There are a lot of masturbatory techniques. Rhythm, pressure, and movement are subject to individual preferences. Thus there is no ideal case of masturbation. Sometimes only single fingers are used to have an orgasm, while others use the entire hand or both hands.
Above all, there are also many means that can be used to make masturbation even more pleasurable. Lubricants can be used or objects, especially vibrators or a dildo to stimulate penetration. Sex dolls with either male or female sexual organs are available as well. Mostly they are used by men, while women usually use everyday objects like a cucumber or a banana as a substitute for the penis.
There are also persons who masturbate orally by stimulating their own sexual organs with their moth, lips, or tongue.