Choose the right settings, such as NTFS, for the file system, and make sure to perform a full format for better performance.
You can use these methods to recover data from an unformatted drive in Windows 11/10: Recover using third-party Recovery software Format and Recover ... Using third-party free recovery software ...