You may already know that you can switch between applications on OS X by using cmd + tab.
To switch between the windows
There is a similar feature for switching between the windows of a single application by using cmd + tab.
- Hold the cmd key and tap the tab key to move through the open windows.
If you found this guide useful, you may also appreciate knowing how to force quit an application on macOS if something goes wrong.