Apart from what to do with an actual fire think about how it happened. Wood causes tar like resin to stick to the flue, brushing does not remove it, resinous woods like the fir family will be the worst offenders. Buy a product that you sprinkle on the burning wood once a week to react with the...