Which type of AC is it, in generally if it is not cooling then either it might be that mode has been unknowingly changed on remote control or there might be a refrigerant leakage problem
open