It’s an adaptive light system issue. Lights should still be fine but you won’t have that function.
Is it a private buy or from a dealer?
Dealer take it back and ask for it to be fixed.
Oh and welcome to the mad house. Question would have been better in the correct car section but you will get the hang of the forum
J