how to prevent damage to a house