The process for performing your own household electrical wiring depends on the needs of the project and the condition of the existing electrical system. In most cases, you need to run wire from an existing switch box to the new outlet or fixture using special tools and safety equipment.
The first step to performing any home electrical work is to turn off the power in that section of the home to avoid electrocution or shorting out the circuits. Use a voltage detector to check surrounding outlets and wires to ensure no current is passing through them. With the power off, identify the switch box housing the wires needed to carry an electrical charge from the main power line into the house. If you are repairing existing wiring, disconnect the broken wires from the box and the outlet or end source, and replace them with a new set.
If you are installing new wiring, check the switch box for an open wire end to use as the grounding power source. If none is available, disconnect the main wiring, and splice it so that you can connect the new wire to the line. Cover the wire with electrical tape to protect the juncture, and run the wire through the wall or ceiling until it reaches the destination. Connect the loose wire to the outlet or fixture, and seal it with electrical tape or wire caps.