In residential and light commercial HVAC systems the compressor contactor is replaced. In heavy commercial systems, the contacts are replaced. Residential and light commercial compressor contactors are not made to be disabled and repaired while heavy commercial contactors are made to be disassembled and repaired.
How A Contactor Works | Compressor Contactors for Air Conditioners and Heat Pumps

3-pole Contactor with Auxiliary Contacts
The compressor contactor has an armature that slides down when the coil of the contactor is energized. Sometimes a loud humming can occur in the contactor when the contactor is energized. This noise can be annoying. In residential and light commercial systems the contactor can be sprayed with oil. Be careful not to spray too much. Additionally, make sure the system is de-energized before spraying the oil into the armature.
Oil can be flammable so use a little bit and only on the armature. If any oil or an excess of oil gets on the contacts make sure you clean it up. Clean it before energizing and running the equipment. If the contactor can be disassembled you can disassemble it and use sandpaper to sand the armature. This should stop the nuisance humming coming from the contactor. If it doesn’t then replace the contactor especially if it annoys someone or there are complaints.
Another problem that can occur with a compressor contactor is the failure of the coil. In most residential and light commercial systems the coil is powered by 24 volts. In heavy commercial systems, the coil voltage can be 120 volts and up. Some compressor contactor coils have a range of voltage(s) depending on the manufacturer and based on the available control voltage. In the case of a failed coil, the contactor needs to be replaced.
Air Conditioner Compressor Contactor Diagram