If your refrigerator does not work completely (neither the compressor nor the light bulb inside), then the power cord or electrical plug is most likely damaged. Replace them.