Android can use the three buttons (Back, Home, Recents) or swipe gestures.
Samsung: Settings, Display, Navigation bar.
Pixel and most others: Settings, System, Gestures (or Navigation), System navigation.
Tecno, Infinix and itel: Settings, System navigation or Smart Panel settings.
With gestures:
Swipe up from the bottom: Home
Swipe up and hold: Recent apps
Swipe in from the left or right edge: Back
Back button not working, or screen edge broken? Switch to the other method. A cracked edge often blocks gestures.