You share your personal link or code with someone who has a room to spare or someone looking for a room. Once they sign up with it, you can see how far they have got under Invite friends in your profile.
If you invite a host, you receive €50 and the new host €25 as soon as their first tenant has moved in through Hospi. If you invite a tenant, you receive €25 as soon as they have found a room through Hospi.