The general rule is to get as far inland as possible. Find the most secure and safest structure available away from the coast.