If you received a discount (promo) code, you can use it on the PNP website:

Note: discount codes can't be used for purchases made in the mobile app (those are processed by the App Store or Google Play).
Got a code that unlocks content (for example from a partner or a gift)? That's a voucher code: see How do I redeem a promo code or a voucher?.