How to stop duplicates contactsĀ entering Salesforce?

To stop duplicate contacts, accounts and leads from entering Salesforce do the following: