The process is quite complicated, and unlike similar actions with NTFS or FAT32, it takes much more time, due to the particular structure of the file system.
Of course, you can try to recover data by yourself using some data recovery software available on the internet, but for HFS+ file system it will likely not give you successful result.
Therefore, if you don’t care about lost information on the device, we recommend you to contact Apple center to replace it. However, if there is valuable data on the drive – it is always better to contact the experts.