If your carbon monoxide detector goes off in the middle of the night, the first thing you should do is evacuate your home immediately. Do not turn off the alarm or open any windows or doors. Once you are out of the house, call your local fire department and inform them of the situation.