If the compressor is running and your refrigerator is not cooling then it could be that the refrigerator has developed a refrigerant leak and you no longer have any refrigerant.
If that's the case then it would be best to get a new refrigerator and scrap the old one.