All battery powered and AC powered smoke detectors come equipped with an easy to activate testing apparatus. In most cases it is a simple button. Press it once a month to make sure it is working. You’re done. Also test after extended periods away from your home. Most smoke detectors have filters to stop dust and debris from entering. To be safe and to cut down on false smoke detection, vacuum your smoke detector a few times per year.