If restoring camera to its default factory settings will fix this issue then its ok, otherwise visit [https://guideusermanual.com/product-name-d5200-manual&po=4305&lang=English|Nikon D5200 Manual] to proceed another solution.
To restoring Nikon D5200 to its factory settings, just hold down the [Menu button] button and the [Information button] button together, until the control panel turns off briefly while the camera resets itself to the factory default settings.