1. Check the compatibility of SD card with your device.
2. Change the position of the card in the SD card slot, and try inserting in different angles.
3. Reboot your device.
4. Clean the SD card slot using a can of compressed air.
5. Try connecting the SD card in another device and see if it is recognized.
6. See if your device has the latest updates.
7. Use a different SD card.