According to the U.S. Centers for Disease Control and Prevention (CDC), the best way to prevent infection is to follow the always-recommended best practices for hand washing and personal hygiene.

Wash hands often with soap and water and for at least 20 seconds. Here is a link to the CDC guide to proper hand washing practices.
When soap and water are not available, alcohol-based hand sanitizers should be used. It is recommended that you choose a hand sanitizer with at least 60 percent alcohol content.
Avoid close contact with people who are sick or who have been exposed to those who are sick.
Avoid touching your face, eyes, nose and mouth. COVID-19 and the flu are both spread by aerosolized droplets produced by an infected person.
Cover your cough or sneeze with a tissue. If a tissue is not available, sneezing or coughing into your arm/elbow is recommended as to avoid contaminating your hand with respiratory droplets that could then be spread to your face or transmitted to other surfaces.
Stay home when you are sick!