test the old thermostat, it should be closed and if you put it in almost boiling water it should open. if the old one is ok then refit and look for another fault try bleeding the heater or giving it a flush though with a hose in case matrix is blocked
.