If you don't have a service manual and to at least eliminate one thing test the headlight motor first. Unplug it, ensure it's properly grounded and run power to it. If it's bad bench test it's replacement prior to installation. If it's good then you'll obviously have to look further into the system; connections, relays, etc.