If this is a power circuit you'll need to use a DC/DC converter, or if the load isn't too great and efficiency isn't an issue then use brute force - a 5 V regulator.
If it's a signal into a high impedance input then use a voltage divider as Jattie suggested. If it's into a low impedance input then use the voltage divider followed by a single-supply Op-Amp configured as a voltage follower. In this case power the Op-Amp from the 12 V supply.