Welcome!
On a post, the member info (left side), you can see if they have a Referral Code and click that link.
If you are on mobile, you can click on the members profile and goto the About tab. If it's not there, then the member has not setup their referral code on the forum yet.