Vinegar is the key to getting a rusty cast iron pan back in shape, but you need to watch that it doesn't corrode the iron.
Cleaning your cast-iron skillet correctly ensures it will last for years. You can do it with a common kitchen staple.