The door of the warehouse where flammable materials are stored should be opened outwards. The gate of the explosive warehouse should be set in the downwind direction. For warehouses prone to fire, firewalls should be set up inside and outside the warehouse with an area of 500 square meters, and the building plane should be divided into several fire prevention units to prevent the fire from spreading after the fire. The warehouse should be located in a place with sufficient water and where fire engines can drive. At the same time, according to the change of seasonal wind direction, it should be located in the downwind direction. For flammable warehouses with large reserves, the living quarters, living auxiliary areas and storage yards should be arranged separately, and the warehouses should have at least three gates, which should be opened to the outside. The biggest reason is to give priority to fire evacuation and rescue, and to maximize the use of indoor evacuation exit space, so that more people and materials will be evacuated at the same time in case of fire.