Psychology
Positive reinforcement with treats
Negative reinforcement by removing the loud noise
Repeated exposure without any other stimuli
Repeated pairing with the loud noise