The compressor is the part of your refrigerator that compresses the refrigerant to help it gather warmth from the refrigeration compartment and move the warmth into the kitchen air. The compressor works via a pumping mechanism that is in turn controlled by a motor. If this compressor starts running loudly or making strange buzzing noises, this may be one of the first signs that your relay switch has started to malfunction.
Listen to your compressor motor. Even if it is not making strange sounds, it may give clues to problems with the relay. A bad relay will often switch back and forth. This will cause the compressor motor to start, stop and start again when it tries to enter a cycle. If this starting and stopping occurs, the relay is probably failing.
If your refrigerator appears to be in working condition but is simply not running, the problem may be a compressor relay that has completely failed. If the electricity still works, the timer is operating correctly and the temperature control unit of the refrigerator has not malfunctioned, the relay may have overloaded and stopped working entirely, leading to a shut-down refrigerator.
If you think you may have a relay problem, the switch will need to be replaced. But it is a good idea to call in a professional for the work involved. A professional will be able to look at the relay and diagnose potential problems. The actual issue may lie elsewhere, since relays tend to be durable components.