Merging of duplicated contacts can be managed in the Web Portal and cannot be undone. This feature is not available in the App.
To access the Merge tool, in the Web Portal go to CRM > All Contacts > Select the contacts that you would like to merge > Merge in the pop up
Follow the on screen actions to proceed.