Its hard to tell what is bad online,the compressor would be the last thing to replace because of cost,is there another switch up line?
Google your problem/model online and there is probably a thread or even video of a pro fix that will point to the part you need to replace.