on the sword version it could be the plug connection sometimes. In case yours is the non sword type, just get another one, they are pretty cheap nowadays from the internet, aftermarket will do.
Sword can be repaired of course
I have some pics and some tips