If I were to teach my agent to do things like walking how would I make it get up on it's own if it stumbles

So I would believe that the usual approach would be to reset the action, but I think it would be better to make it learn to get up on it’s own so that if it happens again I could reload the routine that seems to be best suited and try a variation of that. I don’t need a coded answer just a general description.