Make sure you are in the perspective view first.
First hold down “Spacebar”, then hover over the middle menu point “Maya” and press “Right click” on your mouse.
Now you can choose between all different sides.

In Maya 2023 you can also use the Cube.

If you don’t have it, you can enable it here:

