From the controller look for the bad drive then mark it to be removed then remove the drive and replace with new drive to be the replacement. The controller should either start the rebuild process if not refer to the manual of the controller.