Try to formate the memory card on a laptop and then try to use it
+
+
=== Update (09/09/2016) ===
+
+
Did you format using the correct SD card formatting tool? You can it downloaded from sdcard.org
+
Or you can try to do a hard reset on your camera.
+
+
1. Remove battery, Memory card, and lens for about 30 seconds
+
2. Reinsert just the lens and the battery, power the camera on
+
ensure you are using an approved card: Answer Title: Approved SD cards for D5200 Answer Link:https://support.nikonusa.com/app/answers/detail/a_id/18424
+
3. The camera settings can be restored to default values by holding the "Menu" and "i" buttons down together for more than two seconds
+
(these buttons are marked by a green dot). The information display turns off briefly while settings are reset.
+
4. Hit the menu button and select custom setting menu
+
5. Select "F" for controls and then "F4" labels " Slot empty release lock"
+
6. Highlight "Enable release"
+
7. Test camera with no card/ then reinsert the card and try again