It will keep perfectly fine in the fridge for a couple of days, but since this recipe makes a lot of paste, I would recommend that you freeze the rest. It will happily sit in the freezer for about a year. The spiciness will dissipate a little bit over time, but not enough to really make a big difference.