Use a multimeter to ensure proper wiring connections and polarity.