When inserting a record into the database, it’s always better if it’s not entered a second time by an unsteady index finger.
To make sure this doesn’t happen – with the existing data, query the database first to see if it exists, then, if it doesn’t exist, then go ahead and enter the information.