Cast iron can rust if it's not properly seasoned or if it's exposed to moisture for extended periods. To prevent rust, make sure to dry your skillet thoroughly after washing, and store it in a dry place. Regularly seasoning the skillet also helps create a protective layer.