It is done through the lytic cycle of the virus. This is the mechanism by which viruses infect a host, take over the function of the cells, and use them to replicate millions of new viruses in your body. See the related questions below about the lytic cycle.