How will regular back ups help you if you are infected by a virus?

By backing up computer files regularly, you have protection against viruses that cause file corruption. When files get corrupted data is lost. Having a back of your files, you can restore everything to what is was before the virus attacked the computer.