Electric fence wires can be attached to posts using insulators, which prevent the electricity from grounding out. Insulators are made from plastic or porcelain and are designed to hold the wire in place while keeping it insulated from the post. The type of insulator used will depend on the type of post and wire.