Check the following steps to solve the issue:
- Inspect the SD card for any visible damage.
- Check for a loose connection.
- Make sure all drivers for SD card are up-to-date.
- Reset the SD card (enter write protected mode).
- Uninstall and reinstall the SD card using device manager.