The method for cooking a food product in an oven comprising elements, the operations of which determine cooking set-points, is remarkable in that:cooking set-points are captured for defining an associated and determined cooking modethe food product is located in the oventhe cooking operation is initiatedthe operation of the elements is monitored and, should one of such elements be defective, the operation of the cooking mode associated with the oven is automatically switched to a degraded cooking mode, having at least one of its associated set-points differing from the captured set-point.