Cría fama y échate a dormir, “build a reputation and lie down to sleep.” El Imparcial explains that the saying “hace referencia a la reputación” (refers to reputation) and to how hard it is to change an image once someone has created it.
The newspaper notes that the saying comes from Spanish tradition. It can be used as a warning or with irony.