It is best to store tomatoes at room temperature, away from direct sunlight. However, if they are ripe and you're not planning on using them immediately, you can store them in the refrigerator to prolong their shelf life.