Once you've collected enough points to unlock the reward of your choice you'll see the option to claim your reward. Click on it to get the discount code and use it at checkout.