To refer a friend, simply tap "Refer a friend" from the "Menu" and share your referral code there with anyone who hasn't taken any trip.
They'll receive Beam credits when they redeem the code from "Payments > Add credit code/gift card", and you'll receive your part of the credit after they complete their first ride. Note your friend won't be able to redeem the code if they've already done their first trip.
If you don't see this option in your app, that means the referral program is currently not be available in your city.