Undoing changes made by wrong synchronization

i bought a new samsung phone and downloaded anki. i sync from my old phone to save my cards , when i sync the cards in my new phone , i accidently press the “keep ankidroid” option which wiped my old cards. Now im kinda stuck and need some help from you guys on how to undo that sync i just made , thanks!! :smiley: