you do it exactly as JR said.. nothing special about it, just undo them clean them and bolt them back up...
Could also be water damage inside the light clusters, they are easy to remove from the car, unclip the circuitry and check for damage/rusting. Again just clean it up and put back on the car.