Mostly by cooking in it. Pancakes rehab the skillet, the low and slow heat with grease.
When it needs care, using salt and oil to scrub it, instead of soap, also brings it back.
I rarely intentionally season it but when I do, avocado oil, I just stand there brushing the oil around while the pan is hot, then eventually try to wipe all the oil off with paper towels. Which leaves a miniscule layer I can't get off, et voila.
