how do i get my sustain pedal to work?

got it working now. thanks a lot