I erased my USB drive instead of the backup drive

I meant to erase my backup drive in Disk Utility on my Mac, but accidentally selected my USB flash drive instead. The erase finished before I realized, and the USB now shows up as empty. It had some documents and photos I don’t have another copy of. I haven’t saved anything new to it or tried any recovery tools yet. Is there a chance of getting the files back, and what should I do first?