Ceiling lighting is the most common lighting in your home. That is why when installing it you should use proper installation techniques for safety and aesthetics.
The first thing you will want to do before installing any light is read and understand the manufactures installation instructions. Once you have done this you will want to gather all the tools and parts that you will need for this task.
Items that you will need.
*Screw driver or drill
*Wire nuts ( make sure that you use the proper size to prevent short circuits)
The first thing that you will want to do is turn off the power to the electrical circuit that you are working on. Your electrical panel is typically located in your basement or garage. In older home it can be located on the exterior of your home.
Then you will want to start by removing the old ceiling lighting. In this case we are going to use a flush mount ceiling light as an example. Remove the glass so you can access all the mounting screws. Loosen the screws until you can twist the light fixture. The light fixture should have a lot that has a bigger hole on one end the screw head will fit through. Twist the light so you can pull the fixture away from the screws. At this point you will be able to see all the electrical wiring. As a safety precaution use your circuit tester to make sure the power is off.
Now that you have verified that the power Is off twist the wire nuts in a counter clockwise motion. Make sure that you dispose of the old wire nuts. You will want to use new one on your new lighting fixture. Now that you light is unhooked and unattached remove the old mounting bracket from the electrical box.
At this point you should be starting with a clean slate. Install the new mounting hardware that was provided with you fixture. Follow the manufactures guidelines. When installing the new mounting hardware make sure not the pinch the electrical wiring or scrape the protective coating.
Now take the new base of the light and attach the wires black to black, white to white and green to green it could also be green to bare copper. Make sure to use new wire nuts to prevent electrical shorts. Take you lineman pliers and twist the wire nuts on securely. You want to make sure all your wires have a good secure contact.
Gently tuck the wires into the electrical box making sure not to damage any protective coatings on the wire. Slide the mounting screws through the slots on the lighting fixture and twist. So that the screw head is over the smaller slot in the base. Now tighten the screws so the fixture is secure and can not move.
Install your light bulbs to that meet the manufactures wattage requirements. Now you can install the glass cover and turn your power back on at the electrical panel.