Wiping the Partition Cashe clears out a lot of old or corrupted information that can cause issues 
Follow the steps below. You must follow every step and you should be done in about a minute 
Turn off your phone. 
Connect your phone with a USB cable 
to PC or another Samsung mobile 
You will see the charging icon on your screen. 
Wait till it shows charging with battery percentage. 
Next, press and hold the Volume up and Side key simultaneously. 
You can press the volume up button just before the Side key. 
The Samsung Logo followed by 
Samsung Galaxy appears on the 
screen. 
At this point, release the keys 
Phone will boot into Android Recovery mode 
In Android recovery mode, using Volume keys, choose "Wipe Cache 
Partition" . 
Use the power button to accept that. 
You will then see its cleared. 
Then the top option, reboot phone. 
Press the power button to reboot the phone and then sign in normally