If your SD card data is corrupted or the dash cam or SD card gets damaged, then there are two options:
If your SD is corrupted then you may need to reformat it
If your SD card is damaged, unfortunately, you will have to replace it
Make sure that you regularly back up your footage to help prevent losing important recordings.