Then the person carrying the virus begins spreading it to others. The virus continues to replicate and spread until, at last, the body learns to reject its code. From then on, the protein shell will be recognized and attacked, even if it comes back months or years later. Immunity.