Possibly it needs a repair but you could try doing a factory reset to see if that solves the issue.
Before doing that you could try booting into safe mode to see if there's any improvement.
Press and hold your phone’s power button for a few seconds until Android prompts you to turn off your phone—just as you would normally do to power it down. Next, tap and hold Power off for a few seconds until your phone asks you to confirm that you want to enter safe mode. Tap OK, and your phone will restart into safe mode.