Each smoke detector has a test button, usually in the center of the detector. Press the test button and hold for a few seconds. If it is working correctly, the alarm will sound and will automatically stop after a few more seconds.