How do I clear service light after changing brakes and sensors in front. on 2000 Mercedes-Benz S500

Do the back brakes need to be changed if they look fine also?I didnt see any sensors there?

Asked by for the 2000 Mercedes-Benz S500
if the brakes look fine dont replace them use a scnanner to clear codes