If you don’t want REDO the complete procedure, a good fix would be to use
STOP SLAVE;
SET GLOBAL sql_slave_skip_counter=1;
START SLAVE;
If there are too many such errors, a good idea would be to automate it using a bash script.
Reference : Ut xD(2017), https://serverfault.com/questions/336888/what-causes-the-mysql-error-1062-duplicate-entry-when-starting-slave, Last visit at Jan 2022