How do i get my iphone to connect to the server?

My apps would not load once I opened them, they would just sit on the home screen of the apps. When I tried to uninstall and reinstall I could not because the App store said that it could not connect to the server.
Have a working cellular data or wifi connection...

Original thread: https://forums.imore.com/threads/how-do-i-get-my-iphone-to-connect-to-the-server.322729/