Step-by-step explanation:
You can take your time neatly wrapping the cable to reinforce it, but the best way to prevent any more damage is to wrap the split or fraying part of the cable several times with electrical tape, then work your way out from that spot. This immobilizes any breaks in the cable and helps prevent further damage. Just don't expect it to last forever.