The battery in your smoke detectors should be changed yearly usually in the fall around Daylight Savings Time. The newer detectors are a combination smoke & carbon monoxcide.detector.
A smoke detector should be replaced every 10 years. This should be made a priority as it is the first warning that there may be a potential fire. Please refer to your detector's owners manual for proper guidance.