3 months ago it came on and ,found out one of the lights went out and I replaced both of them,last week the indicator light came again,it was during the day,I came home to check the lights,there were fine and the indicator was gone,It came on again today and then gone again .

I know it is not normal,but what should I check?loose wires to the headlight assembly ? or something else
any help will be appreciated

thanks