Purchase only devices that are listed by a nationally recognized testing laboratory such as Underwriters Laboratories (UL). Look for the lab's mark on the packaging and device.
Be sure you have working smoke alarms installed on every level of your home and a practiced home escape plan that includes two ways out.