How herd immunity from coronavirus is developed