How to resolve Samsung Galaxy S6 Edge rebooting problem

I bought a new Samsung S6 Edge and I loved it. The only problem I encountered so far which now is worrying me is that it keeps on rebooting. There was a message saying about a Google component error. So, I tried to uninstall an update of Google Service but it was still unresolved. My device still keeps on rebooting. It usually happens when I open Settings or Play Store. Anyone can help me please?
