Many fly species lay eggs that overwinter in protected locations, such as soil or leaf litter. Adult flies may also seek shelter in buildings or other protected areas during the colder months.