You can use SuperSU, a widely used program for handling rooted devices. The ability to unroot your device is one of its numerous capabilities. The procedure is as straightforward as it gets. Simply launch the SuperSU app and navigate to the Settings menu. Select Full Unroot from the drop-down menu. Follow the prompts and let the phone handle the rest. Restart the phone after it finishes its work, and you'll be back to normal.