Most new ballasts are switchable from MH to HPS. Digital ballasts do it automaticly. Magnetic ballasts have a switch.

(You have to change the bulb, first......)