Millions of houses and apartments are at risk from floods or wildfires. Here's some advice to figure out if your home is one of them.