Rust forms on cast iron when it's left wet. Water initiates an oxidation process with the iron, leading to rust. To prevent this, always dry your cast iron thoroughly after washing. If rust appears, scrub it off, rinse, dry, and re-season the skillet.