if you want to prevent your account from being hacked, you have to ensure that you don't give out private information about your wallet, you must never give out your private key or password, you must be sure of the sites you visit even when you want to login to your wallet account, be sure you are visiting the authentic site as this is one major reason people get their accounts hacked.