Please be more descriptive. What is in the electrical box you are wiring the fixture to? How many cables come into this box? What are the colors of the wires that come out of the cable(s)? How did this fixture work before? How many switches controlled the previous fixture?