Are the turn signals and taillights working? I'd check the bulbs first. Then I would take the trailer plug apart and check for corrosion or loose/damaged wires. There may also be a junction box mounted somewhere near the trailer hitch. If everything checks out, use a multi-meter or test light and check for power starting at the plug and working your way back to the lights.