Drilling into wiring can result in serious injury and fire. Using an electrical current detector, follow the manufacturer’s instructions to check there are no currents present in the area where you plan to drill. If a current is present, choose a different place with no current where you can safely hang the shelf. You should drill into a beam or stud for the required support. You can locate them using a stud finder.