Well, firstly a fire alarm in CASE of a fire. But to prevent the fire in the first place could be to make sure you know where all your electrical appliances are and to only have them plugged in if they are in use. If not, then just unplug it.