It could be as simple as not having enough refrigerent in the system. If the pressure is too low in the A/C system the computer will not let the compressor turn on, or turn on for too long because with no refrigerent comes no oil, no oil means tearing apart your compressor from the inside. You just need a recharge from an A/C machine. But considering an A/C system is a closed circuit the only reason you lose refrigerent is because you have a leak. So first you need to get the leak fixed then you can recharge your system.
Good Luck
__________________
Autopartswarehouse.com