quien se pica, ajos come

Etymology
The phrase can be translated as if it stings, it must be garlic.

Phrase

 * 1)  if the shoe fits, wear it