According to the CDC, the proper way to sanitize your hands is to apply enough sanitizer to cover the whole surface of your hands. Then, rub your hands together until they're completely dry. However, you should only use sanitizer if you're unable to wash your hands, and refrain from using it if your hands are greasy or visibly dirty.