galaxy s6 keeps rebooting???

hey guys, first post here,and need help.

I have a galaxy s6 G920P that boots to the os for about 45 seconds,and will just reboot itself over and over.(boots to os, and reboots)

i have wiped both cache.

reinstalled stock rom via odin.

factory reset a few times.

currently on stock rom.

i am lost as to what to do. can i get some suggestions?

thank you in advance.