Mine done something similar when I first bought it.
if I put sidelights on the offside main beam would come on.
I traced mine to 2 missing relays in the fusebox, I replaced them and everything worked again, I think it was the small white one for the dim/dip