You cannot avoid being hacked, but you can still protect yourself from some of the repercussions of a having your accounts hacked due to a database breach.