COVID-19 is mainly transmitted between people via respiratory droplets or secretions from the respiratory tract. Transmission via droplets happens when an infected person coughs, sneezes, speaks or breathes out and the droplets reach mucous tissue in someone's eyes, nose, or mouth.
There might be places and situations where the risk of transmission is higher, even if we keep a distance from each other, e.g. in cramped areas with bad ventilation.
The virus can be transmitted via contaminated surfaces, so-called indirect contact transmission, but the risk of getting infected via contaminated surfaces is considered to be low.