Smoke detectors chirp when their batteries run low. Changing the battery will usually fix the problem. We recommend changing smoke detector batteries once a year.
If changing the battery doesn’t stop the chirping, it might be time to replace the detector itself.