Your iPhone apps should update automatically, but if they aren't, you can check for updates manually through the App Store.
An iPhone that keeps restarting is a serious but uncommon problem. Here are a few ways to try and fix the issue.