FIrst, you need to eliminate the source of the odor by throwing the rotten potato as far away as possible.
Second, you need to neutralize the odor by pouring the mixture of Baking Soda and Vinegar near the place that became the source of the smell
Last, open windows and any other circulation mechanism so the smell will go awa