A headlight relay is not a bad idea but not usually necessary, and not a cure for other troubles that may already exist.
See what voltages are and if low at the light start checking further and further back to find the trouble. Don't forget the ground path is just as important as the wiring.