Your first line of defense to prevent pilling on clothes may come from laundry detergent. Some detergents use enzymes to help clean clothes, and one enzyme—cellulase—can help loosen and remove pills in the wash. Combined with a gentle, cold water cycle, switching to this type of detergent may help get rid of pilling.