Your problem is coding. The previous owner installed an HID kit in the halogen housings. First off, you should go back to OEM bulbs. Or an aftermarket bulb if you want a whiter color output.
HIDs are not meant to be used in halogen fixtures. It is illegal and the light is not properly focused, giving you decreased visibility.
You can go about this 2 ways. Either swap the OEM bulbs back in. Or have your car coded for xenon lights. This will allow you to run the HID kit but please consider the cons I mentioned above.
Also the side that is not working, the ballast will need to be replaced.
So cheapest would be to take the HID kit out, and buy some OEM (or aftermarket in the color of your choice) bulbs and install those.