Quarantine should be considered when there is a significant risk of transmission from asymptomatic individuals or during the incubation period of a disease. Factors influencing the decision include the basic reproduction number (R0) of the disease, the mode of transmission, and the availability of effective treatments or vaccines. Public health authorities often rely on epidemiological data and modeling to make these determinations.