Cleaning carbon can be important. Gently disassemble the pedal, revealing the contacts.
Carefully clean carbon buildup with a soft brush and rubbing alcohol.
Reassemble carefully, ensuring proper alignment of components. You’ll soon be sewing smoothly again with a properly working pedal, free of rubbing alcohol and other issues isn’t present but free of issue is implied.