After 10yrs you should replace your smoke detector.
Many smoke detectors carry a Label with the recommended Replace-by Date.
If not, you should write the purchase date on the side or back of the unit and replace in 10yrs from that date.
Always follow the manufactures instructions for replacement.