counterconditioning

noun
  1. 1

    A form of conditioning in which a negative response to a stimulus is replaced by a positive one

Source: https://en.wiktionary.org/wiki/counterconditioning