Air purifiers with gas filters can help to minimize bad odors lingering in the air, but it is always best to treat the source of the smell first. It is a good idea to clean your kitchen regularly, especially after cooking, and paved piling dishes and pots up on counters to help cooking smells dissipate quickly and naturally.