They follow you all the time. Sometimes you can block them by boxes that you jumped over. There are also 1 or 2 viruses which only follow you if you come too close into their “line of sight”.