When the temperature of the heater becomes greater than the temperature of the surrounding, some of the heat is lost to the surroundings in the form of thermal radiations. After some time, the rate at which heat is being produced becomes equal to the rate of which heat is lost. Hence, the temperature of the element becomes constant.