For unopened (directly from the store) pepperoni, store inside the fridge still on its packaging and then just take it out when you will already be needing it. For opened pepperoni, make sure to use it within a week after it was opened. But if at some point, there are still leftovers of pepperoni you can safely store it in the freezer. Make sure to place it inside an airtight container.