To avoid Facebook, Install Facebook app from a scrutable store like Goole play stop. Always keeps deleting your cookies, history, caches from your browser. Don't log in to Facebook from unknown source, like someone's phone, laptop, network, etc. Keeps changing in your password from alternate. If you do as then definitely, you're able to avoid hacking from Facebook.
Reference:
getassist.net/how-to-recover-hacked-facebook-account/