Method of prevention of the loss of goods, in particular from a vehicle for goods transportation or goods and passenger transportation, comprising a first step of automatically activating and maintaining active the parking brake when two conditions are satisfied - A: the vehicle is stopped AND - B: the load compartment is open or not closed correctly, said method being characterized by the following steps in cyclic sequence: - (Step 0) acquisition of the state of the parking brake; - (Step 1) Verification of the conditions A AND B, if both conditions are satisfied (A AND B = YES) then - (Step 2) first step of activation of the parking brake and inhibition of its disengagement or inhibition of its disengagement if it was previously engaged, instead, if one of the conditions A AND B is not satisfied (A AND B = NO) return to step of acquisition (Step 0); -(Step 3) Verification of the conditions A AND B or verification of the condition C, if both conditions are satisfied (A AND B = YES) or condition C is not satisfied (C=NO) then repeat step of verification of the conditions A AND B or verification of the condition C (Step 3); otherwise (A AND B = NO OR C = YES) (Step 4): restoring the activation/deactivation condition of the parking brake acquired prior to said first step and repetition of the cycle from the aforesaid acquisition (Step 0), wherein condition C relates to a manual deactivation performed on input of the driver by means of a specific command, when said vehicle is a car. - A: the vehicle is stopped AND - B: the load compartment is open or not closed correctly, said method being characterized by the following steps in cyclic sequence: - (Step 0) acquisition of the state of the parking brake; - (Step 1) Verification of the conditions A AND B, if both conditions are satisfied (A AND B = YES) then - (Step 2) first step of activation of the parking brake and inhibition of its disengagement or inhibition of its disengagement if it was previously engaged, instead, if one of the conditions A AND B is not satisfied (A AND B = NO) return to step of acquisition (Step 0); -(Step 3) Verification of the conditions A AND B or verification of the condition C, if both conditions are satisfied (A AND B = YES) or condition C is not satisfied (C=NO) then repeat step of verification of the conditions A AND B or verification of the condition C (Step 3); otherwise (A AND B = NO OR C = YES) (Step 4): restoring the activation/deactivation condition of the parking brake acquired prior to said first step and repetition of the cycle from the aforesaid acquisition (Step 0), wherein condition C relates to a manual deactivation performed on input of the driver by means of a specific command, when said vehicle is a car. - (Step 0) acquisition of the state of the parking brake; - (Step 1) Verification of the conditions A AND B, if both conditions are satisfied (A AND B = YES) then - (Step 2) first step of activation of the parking brake and inhibition of its disengagement or inhibition of its disengagement if it was previously engaged, instead, if one of the conditions A AND B is not satisfied (A AND B = NO) return to step of acquisition (Step 0); -(Step 3) Verification of the conditions A AND B or verification of the condition C, if both conditions are satisfied (A AND B = YES) or condition C is not satisfied (C=NO) then repeat step of verification of the conditions A AND B or verification of the condition C (Step 3); otherwise (A AND B = NO OR C = YES) (Step 4): restoring the activation/deactivation condition of the parking brake acquired prior to said first step and repetition of the cycle from the aforesaid acquisition (Step 0), wherein condition C relates to a manual deactivation performed on input of the driver by means of a specific command, when said vehicle is a car. <EOS>