The air conditioner can't expel enough heat from the system because of dust, dirt and mineral scales on the coil. The compressor can fail due to the increased pressure and temperature.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.