“The one who lathered it, should shave it.”
The person who created or caused a problem should solve it.
“El que lo enjabonó, que lo afeite.”
La persona que hizo o creó un problema, que lo resuelva.