A method for controlling the cooking process in a cooking chamber of an oven is provided. The chamber includes at least one heating element, at least one fan having respective intake and delivery areas, and at least one baking tray. A temperature sensor is arranged in the delivery area, measuring the temperature of the air and/or steam which comes into contact with the food at the entry to the at least one baking tray, and compares that to the cooking temperature which is set in the corresponding cooking program. The method includes: providing a second temperature sensor in the intake area of the fan; calculating temperature difference detected by the sensors; setting a predetermined difference between the temperatures; and controlling the heating element and the fan during cooking to keep the temperature difference in the cooking chamber equal to or below the predetermined value throughout the actual cooking time.