To replace a fridge thermostat, first locate it and remove the shelves, the ice maker and any other things that stand in the way of it. Unplug the fridge. Disconnect the wires and unscrew or unclamp the thermostat. Place the new one and screw it or clamp it in place. Connect the wires and plug the fridge.