When a virus infects a host cell, it uses the cell's machinery to make copies of its own genetic material in a process called replication. During the stage known as translation, this genetic material is used to produce the proteins that will form the capsid.