It's important that the date and time are correct as some phone functions won't work.
Press System & updates.
Press Date & time.
Press the indicator next to "Set automatically" to turn on the function.
Slide your finger upwards starting from the bottom of the screen to return to the home screen.