1. Get the oil hot before you add any foods.
2. Use a sheet-metal spatula/flipper
Humanity has known for a long time that when you get your cooking oil hot, it repels food instead of binding it to the cooking surface; but the amateur cook has forgotten because of a reliance on non-stick surfaces.
The sheet-metal spatula/flipper lets you clean the cast iron with each pass of the tool. A rubber/wooden tool will leave small, burnt on bits of food, which accumulate more bits of food; a sheet-metal tool with scrape those off before they become a problem. Also, a sheet-metal spatula will scrape the roughness of the cast-iron from the bottom of your pan over the course of decades, moving you towards that inky-black mirror of grandma's old pans.
I can cook anything on my cast iron, just by following those steps, even fried eggs: the surface is totally non-stick. And cleaning is simple too: sometimes I'll make a few passes with the spatula to scrape off any food that has dried on, but that's all I ever do.