What are the measures to prevent fire accidents?

The measures to be adopted to prevent fire accidents are of paramount importance. There is a familiar proverb in English "Prevention is better than cure". Though fire fighting apparatus are to be kept ready in case of fire accident, the measures like not keeping highly inflammable objects within the vicitiny,not switching on mobile in Petrol Pumps,not allowing children to play with matches,extra precaution during fire works exhibition,strict vigil in fire works factory etc. help us to prevent fire accidents.