You should replace them, never repair them.
Answered by Sarah, Electrical Safety Expert
Get rid of and replace damaged wires and cables – never repair them. Sticky tape isn’t enough. It’s not strong enough and won’t provide enough protection from electric shock.