The correct option is D on losing
Since sentence talks about an event that has its impact on the next occurring one, "on" is used with the gerund form of the verb. Hence, option B is correct. The rest of the options do not adhere to this rule, hence incorrect.