Flickering or pulstating Headlights

It is grounded to housing. Thanks a lot...