How can I get the scent out of a memory foam mattress?

To freshen up a memory foam mattress, place it in a well-ventilated area, sprinkle baking soda on it, or use an air purifier nearby to eliminate any lingering odors.