Ketoconazole and Zinc Pyrithione shampoo is primarily used to treat dandruff and seborrheic dermatitis on the scalp.