Try unscrewing the pedal (on the bottom usually) and removing the cover. There should be two wires connected to two poles and resolving your problem should be a simple matter of switching the wires around.