Enough people are resistant so instead of becoming virus factories and spread it further they stop the infection with their immune system.