You don't repair you replace. Switch OFF mains, remove old switch and connect the red or brown wire to Com and the black or blue wire to L1 on the new pull cord switch.
Good luck
baz
baz
November 2007
I can answer this question...
How can I fix a jammed pull string on a single bulb light fixture?