Unless your ballast is rated for HPS and MH bulbs you cannot use it to run both lamps. Electronic ballasts usually are rated for both while magnetic are not. If your ballast is not rated for both you can buy a conversion bulb that will allow you to run a MH in your HPS ballast.
I use HPS bulbs during veg and flower. I use Eye Hortilux HPS bulbs. They're better then your average hps bulb IMO. They have a slight blue spectrum as well, which is good for vegging. They cost a little more but worth it IMO.