Photoshop (and its creators) can't be responsible for such user's decisions
Remember - always keep your original PSD file unflattened, with all the layers. Even if you think that the work is done, you might need to change something some day.
or go to your history palet, but it only works on the secsion that you use, so basicly once you close your file, the history gets deleted upon the next time opening it up.