This is an application for a voltage regulator.
Simple and cheap (but wasting half the power) is a linear regulator.
More complex, but far more efficient is a switchmode regulator.
What current is required? If it's under an amp or so, I would use something like
this.