The quickest way to fix it would be to cut either side of the tear and joint up the wires using an electrical joiner (similar to those used when connecting light fitting to wires in the ceiling), however this is the not the safest method as the connectors would take very little strain. The other way would be to replace the entire cord, a vist to you local DIY shop might find someone willing if you dont want to attempt it yourself.