How would you recover lost files from a system infected by a virus?

How would you recover lost files from a system infected by a virus?