As Steve pointed out, finding a sensor is the first step.
Then you have to make the critical decision, where are you going to set the alarm limit? If you do a web search, you will find all the dirt on setting CO level alarms. When the first home CO detectors came on the market in the USA, the alarm limit was set per the then current OSHA limit. That turned out to be too low and there were a lot of false calls to the fire department because the level of CO could normally and transiently be present and supposedly it was not a big deal.
Eventually a new standard was created and the alarm threshold was increased SIGNIFICANTLY. There are a lot of people that feel that the new limit is too high and unsafe.
So if you use a sensor out of a standard home CO alarm and use its output to turn on a fan instead of a buzzer, you are likely already in trouble and just turning on a vent is not going to help. If you go with a sensor with an analog output, one that you can use to alarm at a lower level, the design gets very complicated. If you use the sensor to turn on a fan, that is OK. But if you use it to sound an alarm, you may run afoul of the fire code which now mandates that a CO detector must NOT alarm at levels below a certain threshold.
---55p