Habituation is the gradual weakening of a response to something that is repeated and turns out to be harmless. In brain-imaging studies it is often measured as activity in a region declining across repeated trials; the opposite, a response that grows with repetition, is called sensitization.
Papers That Mention Habituation
Expert Meditators Found Pain Less Unpleasant, but No Less Intense
Does long practice change how pain feels? In a brain scanner, 14 Tibetan Buddhist practitioners with over 10,000 hours of practice and 14 novices with a week of practice meditated in an open, accepting state before painful heat. The experts rated the heat as just as intense but less unpleasant, with less salience-network activity beforehand and more during the heat. It was a small, one-time comparison, so it can't show that practice caused the differences.