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.
The compressor portion is straight out of a refrigerator. Besides the compressor being free, the other benefit is that it is super quiet! Check the video after the break, you’ll be astonished.