There are a few basic points that you have to check if getting hot air from AC.
# Check the AC mode. Change it to the cooling mode.
# Clean dust and slit from the fin of the AC. Use water and soap foam to clean it.
# Check the temperature sensor.
# Confirm you have cooling gas in your AC and the compressor is working.
#