It is still under warranty
Therefore return it for replacement.
If out of warranty then contact the Nikon support site in case there is an issue with that model- in which case it will be replaced.
Otherwise replace the camera
:ike computer components there is no repair option with these things