Don’t attempt electrical work yourself if you’re inexperienced.
“A faulty wiring system in a home is a fire that is waiting to happen. For this reason, it is important that you hire a highly qualified and experienced electrician. Wiring is a vast and interdependent network and needs to be done with precision. Even circuits that appear safe, but poorly designed cause damage to electric equipment and appliance motors. This is due to the fact that they can deliver the wrong amount of amperage. These electrical problems may sometimes affect your lighting in your home. The decision to hire a qualified and experienced electrician can possibly save you from these problems while avoiding safety hazards as well.” Most electrical work should be done by a licensed electrician.
“Anything beyond changing out a light fixture, light switch or electrical outlet should be done by a licensed electrician. If you are dealing with new construction and want to save a few dollars on labor costs, you can attach outlet, switch, and light boxes to the framing but leave all wiring to the electrician. These electrical boxes should be attached firmly to the framing and you should consult an electrician as to the positioning and location of the boxes.”