Hand sanitizers can be used as a temporary measure when soap and water are not readily available. However, regular hand washing with soap and water is still considered the most effective way to eliminate germs and maintain hand hygiene.