 The dictator is supposed to come in and find a solution to that emergency and put that solution in place so the emergency is resolved. And then once it's resolved, he resigns from his office and the republic goes back to how it was. For Sulla, the emergency seemed to be tribunes of the plebs who are overly ambitious and are doing things that disrupt the acting and the functioning of the republic.