I have wondered for long, if there is anyway to recover my private keys when they get lost or when I don't remember them. Someone advised me to use Gmail and store them as mails then I taught again, what if my Gmail gets hacked. Is this actually the best way to store them or is there any other ways I can store or Keep them safe?
keeping your private key on Gmail, drive or dropbox is not a good idea. Because all these depend on email Anyone who has access to emails can access them because there are thousands of stories of email hacks. So you can write down your private key in a diary and hide it or you can store it in a pen drive and hide that pen drive. Since memorizing a private key is almost impossible for a human being, storing your private key that way is the only way.
Actually, it's not a good idea to store it in a diary or a thumb drive because there are several problems. For instance, consider the earthquake in Turkey that destroyed everything. How would you find the pen drive among the rubble? Or what if a fire destroyed the diary? Instead, a solution to store it in the cloud could be to encode it into a trivial story where only you know the key, or to split it up and store it across multiple cloud services. This way, you could retrieve it at any time.