Galaxy S4 reboots itself frequently

I have a Galaxy S4 phone, and it randomly decides to reboot or restart itself. I've tried turning it off, ensuring it is charged, restarting it, but nothing I seem to do seems to stop the problem. I have all of the latest updates so I am not sure what exactly is causing my problem. Could someone help me with this please? Thanks.
