Proper handwashing involves using soap and water to scrub all parts of the hands for at least 20 seconds. This includes the back of the hands, between the fingers, and under the nails. It is crucial to dry hands thoroughly with a clean towel or air dryer to prevent the spread of bacteria.