When properly installed and maintained, smoke alarms detect smoke quickly enough to alert occupants. Occupants can leave the building and call the fire department by dialing 911 on the nearest telephone.