Since you'll only need to pay for the labor, you should definitely replace your compressor if it's still under warranty. If your compressor is no longer under warranty, you'll have to pay for both labor and the compressor.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.