How to repeat the process

hello, i have completed an automation to get an excel file by email and process the data into Oracle application. sometimes the end user sent wrong data i have configured the robot to take a screen shot from the error and sent it back. but the problem is that when this happens the robot will stop. what i need to when this happened the robot repeat the process from the verry beginning. how can i do this

depends how you have built you process if its linear then you might have to use a try catch and retry if its re framework then you would need to configure the state transitions