If the compressor runs but the fan doesn’t, the fan is bad. Unplug the refrigerator and replace the fan (project directions below). If neither runs, then you may need a new relay or compressor.