I would check the earth mate and the resistors, another common thing that happens is people force the wrong bulbs into the headlights and rear lights that can also make the lights work but stop fog or break lights from working so I would check those too if you have not long bought the car.
And welcome to S.O.C