First thing is to be very precise and detail-oriented.
You said "as in not accessible at all".
Is that regular English grammar?
Next thing is that "not accessible at all" is not precise. Many would say that once the drive letter is still there and the content is marked as raw their drive is "not accessible at all".
My definition would be that if the drive powers up with no abnormality but any read attempt issued by the computer to the drive fails it has to be considered as "not accessible at all".
This is a totally different understanding of the same expression.
The first things you can do are very simply.
Using preferably a linux machine you would connect the drive and verify its presence with the lsblk command.
You would then generate a log file using smartmontools and analyze it.
Next thing would be - if the log file content does not object it - try to duplicate the drive using ddrescue and its log file feature. That will provide you with a hopefully mostly complete duplicate on a healthy drive and a list of missing areas that were not copied.
Being paranoid you would then quickly duplicate the duplicate and work on the second copy.
Depending on your budget you would run different recovery products against the second copy. A free and open source fingerprinting specialist programm like Photorec would produce results without metadata like directory and file structures, but the usable output of Photorec would get your memory back on track what you had stored on it.
This analysis can be done without harm on a windows machine too using your second copy.
If the information gathered is not sufficient your work would start.
You should first learn how the mostly used partition schemes like the old Intel/MBR one work and learn GPT as well. The free and open source software Testdisk is a nice tool to support you.
Knowing the file system used from you formatting the drive you would then need to learn the file system format in question for instance NTFS.
As NTFS is a little bit difficult to start with you would rather practice with FAT filesystems. Once you get familar with you can give it a try by overwriting a part or the complete FAT (file allocation table(s)) of a FAT file system. Then a little bit of programming would be required to search the remains of it. You should then learn how defragmentation affects your success.
After understanding a simple file system implementation you would get to (assumably) NTFS.
Your only advantage against a recovery program is that you can use your remaining memory of your drive content to your advantage.
That can yield a success but there is no guarantee.
In 2001 I examined a failed XP system drive still using a FAT file system.
The only thing I recovered (that mattered at all) was the invitation list (xls -file) of his marriage with the invitations already been sent out.
There was no way to automatically reconstruct the file - I had to look at the different following clusters. As it was an xls-file it was not compressed. I simply saw the second cluster of the file and it was not the following one in a linear fashion. Today I would never have succeeded with that task as to the compression used in Excel xlsx-type files.