The most likely cause of this is that it needs to be charged. Air conditioners only work when they have freon in them to do the work. An air conditioner that doesn't cool probably doesn't have freon in it. If it has no freon in it then you might have a leak. Its best to get help from a professional.