reboot into safe mode. if it keeps working, then you probably have a downloaded app causing the issue. restarting the phone closes the app... until it decides it wants to run again. safe mode will help tell you if it's something you installed or not.
hold power key> hold power off> confirm reboot into safe mode. it doesn't delete anything, it just disables 3rd party apps. to exit, reboot normally.