check the relays under the hood. have someone turn the lights on while you listen for the relays to click. keep listening when the lights flicker, if the relay flickers its a bad relay.
also look for corrosion on the battery terminals, and clean it off. the alternator charges the battery, check alternator connections. if you take the alternator off and bring it to a parts store they check it for free.