How to Disinfect a Carpet
Carpets, whether wall-to-wall, area rugs, or throw rugs, collect dirt, grime, allergens, and bacteria every day. These contaminants are tracked into homes by shoes, feet, and pets . Cleaning carpets requires understanding the distinction between cleaning, sanitizing, and disinfecting, as defined by the CDC. While it is challenging to fully disinfect soft surfaces like carpets due to their texture and construction, it is possible to significantly lessen bacterial contamination. 1

How Often to Clean a Carpet
Carpets should be vacuum several times weekly to remove loose soil (daily if you have a crawling baby or toddler). Deep cleaning should be done at least twice per year, seasonally is better. If someone in the home has been ill with a communicable disease or has a compromised immune system, more frequent deep cleaning is recommended. 2
Source: https://www.thespruce.com/how-to-disinfect-a-carpet-4801955