Best practice is to test your smoke detector monthly, and change the batteries at least once a year. If your smoke detector is over 10 years old it needs to be replaced with a new unit. If you hear your smoke detector making a chirping sound, replace the battery as soon as possible.