On the more advanced hardware RAID controllers it will automatically swap in a spare drive once one fails. It'll then automatically begin to rebuild the lost data in the background from the parity data spread over the other drives. This is whilst your server is still running and you'll never know anything went wrong apart from it's slower than usual.

When you've got time you replace the bad drive and reinitialise it as a hot spare. And off you go