I just got done doing an assessment and cleaning of all my enlarging lenses. It is a big deal, I confess this is probably only done twice a decade.
But the basics are
first making sure all the lens element surfaces are clean. If the lens surfaces don't clean easily, then they are permanently damaged. I have never found any strong chemical or forceful cleaning that can help destroyed glass and or coating. I don't always throw those away, sometimes glass of two lenses can be combined. Also, re-coating is available, but for $1000, it is frequently less expensive to look for an undamaged lens instead.
If the lens surfaces are clean and clear, then
make sure the aperture mechanism functions properly.
If the lens passes those two tests, then one needs to
work on mounting the lens to the enlarger. This can be easy or difficult depending on the enlarger and lens; each case is unique.