Algotec Interview Question

there is a paint program, how do you implement a undo method?