When a cell is infected by a virus, synthesis of antiviral proteins begins and this protein diffuses away from the infected cell to protect nearby uninfected cells by binding to surface receptors and initiating synthesis of antiviral proteins.
These antiviral proteins are called interferons. They are the response to viral infection that protect the neighboring cells by disrupting viral multiplication.