Whether you need to replace the condenser unit with the compressor, or simply replace the compressor, this can be decided by an HVAC technician. The compressor works with the condenser unit to release the heat outside your home.