If motor is running a long time & fridge is not getting cold, you have probably lost the gas due to a leak in the pipework. If motor does not start or if it starts but stops again after only a short time then the thermostat is probably needing to be changed.
Lincoln Appliance NZ, February 2009