When applications come into the database, the database looks at the email address of the contact being created to see if it matches an existing contact and automatically overwrites that person if found.
Sometimes, in cases with referral forms, where the mentees won’t have email addresses, you should just plan to check if the mentee already exists in your contacts before approving the referral.