Follow this link: https://www.androidpit.com/how-to-factory-reset-the-galaxy-s6-edge
Instead of resetting to factory defaults, select the first option: 'reboot system now'
If you're not worried about what's on the phone or you backed up your stuff, you can also 'wipe data/factory reset'.
I'm sure that'll sort out your problem.