OnInit is called just once before first execution, so it’s not a good candicate. It’s best to use OnStop since that’s called whenever you call EndAction or the Action ends due to any other reason, like being interrupted for example.
Or you can reset some variables within OnExecute which is called once on EACH execution. Depending on what you are after.