How can I get my ceiling fan lights working again?
There should be black, white and green (or bare) wires at the fan.

The green or bare connects to all metal work-box and/or green screws.

The white, neutral connects to the fan white and the light white.

The black goes to the light via any switch it may have.