The best way to prevent anything from sticking to cast iron is to coat it in a neutral oil like vegetable oil or canola oil. This cast-iron skillet cornbread recipe asks for vegetable oil to coat the cast iron skillet before adding the batter and it works like a charm!