accidently erased the eMMC files on the BBB

Hi, I have a big problem! I was busy erasing the contents from my sd card with the sdformatter software but while I erased the space from the sd card, the eMMc got accidently erased as well! I dont know how i missed it but I’m in trouble, can someone tell me the steps to restore the backup as soon as possible?