we can't.
air conditioning does not work with hundred percent efficiency, so you will cool your apartment, removing x joules of heat from inside and create 1,1 x joules of heat outside. your apartment is now temporarily colder, but there is more heat in total than there was before.
you will now be tempted to use the air conditioning even more, creating even more heat. welcome to hell.