It's not always obvious when an SSD is about to die, but if you suspect it's on its last legs there are at least five things ...
To format a hard drive before you start using it in Windows, use the Disk Management utility; on a Mac, use Disk Utility.