Put the back button where it should be on the Galaxy S8!
From the home screen, swipe down to reveal the notification shade.
Tap on the Settings button (cog icon).
Tap on the Display menu.
Scroll down and tap on Navigation bar menu.
Tap on Button layout.
Switch orientation to Back-Home-Recents...