How to replace a right rear speed sensor? on 2002 Lexus ES300

ABS,check brake & check engine light is on. mechanic put code reader on & says tr rear speed sensor is the only code. Can speed sensor be repaired or just replace it Thanks

Asked by for the 2002 Lexus ES300