There could be several reasons that could be the cause of your problem. But more than likely the compressor is not working or you have lost all of your coolant. If it's a window AC then get a new one, if it's a Central HVAC then find a good HVAC Tech to check your compressor and Coolant Levels.
Your engine is hot.
The AC isn't working.
your car ac will only blow hot air when there coolannt in the car is finished or the car is oveerheated.
If your ac is making noises or is blowing hot air instead of cold
Need to add Feron.
It may have a bad heater core.
There are three main possible causes to explain why a car air conditioner is blowing hot air. These causes are a worn out compressor, refrigerant leak, and an electrical problem.
Low refrigerant charge? Temperature contro set to HOT position?
Clutch possibly not engaged compressor maybe.
AC System probably needs refrigerant added.
If the AC control is always blowing hot air, the AC control head has failed.
low refrigerant charge?