Attaining herd immunity with COVID-19 would not be the best approach because it's highly i
As with any other infection, there are two ways to achieve herd immunity: A large proportion of the population either gets infected or gets a protective vaccine.
In the worst case (for example, if we do not perform physical distancing or enact other measures to slow the spread of SARS-CoV-2), the virus can infect this many people in a matter of a few months. This would overwhelm our hospitals and lead to high death rates.
In the best case, we maintain current levels of infection—or even reduce these levels—until a vaccine becomes available. This will take concerted effort on the part of the entire population, with some level of continued physical distancing for an extended period, likely a year or longer, before a highly effective vaccine can be developed, tested, and mass produced.
The most likely case is somewhere in the middle, where infection rates rise and fall over time; we may relax social distancing measures when numbers of infections fall, and then may need to re-implement these measures as numbers increase again. Prolonged effort will be required to prevent major outbreaks until a vaccine is developed. Even then, SARS-CoV-2 could still infect children before they can be vaccinated or adults after their immunity wanes. But it is unlikely in the long term to have the explosive spread that we are seeing right now because much of the population will be immune in the future.
When most of a population is immune to an infectious disease, this provides indirect protection—or herd immunity (also called herd protection)—to those who are not immune to the disease.
For example, if 80% of a population is immune to a virus, four out of every five people who encounter someone with the disease won’t get sick (and won’t spread the disease any further). In this way, the spread of infectious diseases is kept under control. Depending how contagious an infection is, usually 50% to 90% of a population needs immunity to achieve herd immunity.
Measles, mumps, polio, and chickenpox are examples of infectious diseases that were once very common but are now rare in the U.S. because vaccines helped to establish herd immunity. We sometimes see outbreaks of vaccine-preventable diseases in communities with lower vaccine coverage because they don’t have herd protection. (The 2019 measles outbreak at Disneyland is an example.)
For infections without a vaccine, even if many adults have developed immunity because of prior infection, the disease can still circulate among children and can still infect those with weakened immune systems. This was seen for many of the aforementioned diseases before vaccines were developed.
Other viruses (like the flu) mutate over time, so antibodies from a previous infection provide protection for only a short period of time. For the flu, this is less than a year. If SARS-CoV-2, the virus that causes COVID-19, is like other coronaviruses that currently infect humans, we can expect that people who get infected will be immune for months to years, but probably not their entire lives.