If you want to undo the merge, you must act quickly. The more actions you take, such as drawing lines, moving layers, and so on, the more edit history your document will accumulate. You can only undo changes that have been made recently.