My Petzl Myo XP has stopped working.

It starts working again if I hit it against the wall. Sometimes I remember to take it off first.

On the offchance, does anyone know how to fix them?