To remove the dirt, clean the grout with a damp sponge. Then, apply a coat of sealant to the grout. The sealant protects the grout from stains and discoloration. The sealer is available in a paste, spray, or liquid form. The paste and spray are easy to apply. The liquid version is easier to apply and dries quickly.