We need to start with checking for power at the compressor clutch. If you have power when the A/C is on then most likely the compressor has failed. However, if you have no power then either a power supply issue or you could have the system overfull. If that is the issue the pressure switch could cut off the compressor. Also, there is a chance that the pressure switch is the issue.
Let's start with checking for power and go from there. Here is a guide that gives more detail on this issue:
Thursday, May 21st, 2020 AT 6:24 PM