My oh my, is that a PSN code you’ve got there? Well, let me teach you how to activate it!
Head over to Playstation Store.
Click on your avatar in the top right corner of the page:
From the drop-down menu, select “Redeem Codes”:
Enter your 12-digit code and click “Redeem”...
... well done! ^^