Flickering or pulstating Headlights

Success!! I went and bought a relay from the parts store and wired it up, didn't work at first because for some dumb reason I connected to the starter stud instead of the battery stud. Now I have a hair over 14V when charging and it's steady, no more wobbling gauge or flickering lights! Yayy!
That's good.
But still want to figure out where the bad connection is since power for other stuff may be flowing through it.