its very rare a pedal goes wrong, if its a 1200cc they suffer with throttle bodies and the loom to the throttle body
, also theres a block connector in the fuse relay board by the battery which the throttle wiring runs through which can suffer with water ingress and poor continuity through the connector. Do you have the codes to hand? and what if any warning lights come on?
I`ve also seen brake switch faults just depends on the codes you`ve got.
hope this helps a bit