Getting a foreclosure notice sucks, but you do have options—provided you act fast.