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!