People should use safer browsing habit and along with that should diversify their bitcoin and altcoin holdings in as many places as possible.
Exchanges, online wallets and hot wallets in gambling sites.
If you are not using it regularly, you can just export the private key in encrypted form and remove every trace of its existence.
Thanks for the tip. Actually, keeping your digital coin is how you keep your money when you go outside. You shouldn't put it in one pocket so that when the one pocket got stolen, you still have money left in the other pockets. Private keys should be printed out and avoid saving your passwords together with your private keys thru online.