What is the best methods to protect altcoin from hacker?
You should buy a hard wallet. Ledger Nano S is offering a 50% discount, $ 75 for an altcoin protection device. I have been using it for 2 years now and I have not yet been hacked by my hacker. It is the safest system.