Your SD card may not work on PC, if it is not working in DSLR. Try to transfer your photos to PC if possible, else take the help of memory card recovery software to restore your photos stored on it. Next, you can format your SD card to fix the issue and reuse it. .