Promo codes are different
Check how to use a promo code.
It applies with referral links
When you join with a referral link, the code applies automatically.
You can change it once before you pay
Find the referral code block on profile settings. If it's not there, you can't change the code.