Reverting a completed step in a pocess

how to revert a completed step in a running process and in a completed process and bring back to previous state ?

Create a new process instance. Move the instance to the expected stateā€¦ .
Provide more info.

Regards
Martin