The path to herd immunity