1st thing to do is DON'T Panic!
Next remove the base and module leaving only the firecore.
Plug a usb cable in and connect just the core section into a computer, go into hardware reports and check usb devices.
Do you have a USB to UART adapter?
Try the instructions on this page to use an external adapter
https://docs.m5stack.com/#/en/tool/usb_downloader?id=esp32-downloader
