After purchasing the pro version, you will get the plugin installation files. Download the zip file and upload it on the WordPress plugin installation page. You don't need to delete the free version. The pro version needs the free version of the plugin to work.