Unfortunately this is a common problem with Samsung phones where they spontaneously lose the internet settings.
There are lots of reports of this problem worldwide (and here) and no fail-safe solution from Samsung.
You'll probably need to contact Samsung support our the seller of your phone for advice on how to address this.
Hope this helps.