Always check these before calling your local air conditioning and heating company.
Filter Maintenance and Replacement
Dirt on the filter impedes air flow. This causes the AC to run longer to circulate enough cool air to achieve the temperature you want. This then causes the air conditioner to overheat. Change the filter and see if that helps.