Dim lights in dash

probably the headlight switch itself is going bad, seen it before where you either have no dash lights or very dim, turning the switch makes them either worse or they turn off