Develope my Selenium Python script

Job ID: 31504846

Budget: €8 – €30 EUR

Hello, I have a Python script written with selenium.
I want this script to be fine-tuned that means I want it to work properly,
1. if it stops, it should just restart.
2. As soon as a username has been entered and it does not work, the script should restart and then take the next username from the list.
same with email.