First off, what headlights?
More than likely they are H4 LED bulbs in an aftermarket housing which will plug into the factory light socket, but are not wired correctly.
You will need to re-pin the factory socket.
Looking at the front of the factory socket insert a straight blade eyeglass screwdriver to depress the retention tab and pull the terminal out the back.
You will need to swap the top terminal with the terminal on the right.
Do this to both low beam sockets and you should be golden.
View attachment 331981
If the LED lights you have are suppose to be direct replacements, you may have to get creative.