On model DCM24, that's usually a defective bottom door switch, or its mount is loose, misaligned, or broken.
The service manual is
here, and my help file on door switches is
here.
For free DIY and other help and advice, feel free to contact me via my site.
Always include your FULL model number*, FCC ID number*, and detailed symptom information.
* from the tag in the cooking cavity or elsewhere on the oven (or send a clear photo of tag)
William E. Miller, AS-EET
http://www.microwavecontrol.com
Microwave Oven Control Panel Repair Nationwide
"Recycling by repairing since 1982"