Not cooling

Refrigerator & freezer not cooling. Light & fan operate. Recently acquired from "friend". Unit is only 2 years old but sat outside for a month. Was covered with dry mud. Don’t know if compressor is bad or if more intense cleaning is needed.