The best way is to learn how to go about it ahead of time. Of course, this is a good idea with any kind of do-it-yourself home repair, but this type of repair-work is in a class by itself. Remember, not only can electricity cause deadly injuries for the unprepared electrician, it can cause damage to the home and appliances. Poor plumbing work, while not normally causing injury, can lead to long-lasting damage to a building’s structure and can, in certain circumstances, make it impossible to sell a home.
Black & Decker Codes for Homeowners: Electrical Codes, Mechanical Codes, Plumbing Codes, Building Codes attempts to provide the homeowner with the basic guidelines for doing work on their property. It is a good idea to have some amount of practical experience to go with the knowledge provided by this book.
This book on its own will not make someone into a trained electrician, but it can provide a basic foundation for those who want to be able to do more in the way of working on the wiring in a home. It covers everything from water supply piping to duct installation.