Solution
This problem also happened when I bought Samsung s8 plus. I did factory reset initially thinking it will stop but it didn't. The only best solution I got was after I updated the phone's software version. The system update solved the problem.
Make sure you manually update the version...