ponerle el cascabel al gato
Literally "to put the cascabel on the cat", where cascabel is a jingle bell or rattle.