First go to Pet Simulator X. Then press the pet icon, you can find it on bottom of screen. Next, click on Star. Now you need to scroll down all the way to bottom and click on 'redeem codes.' Now paste the code and click to redeem.