Wacom has extra software provided with it's tablets where you can setup the tablet and pen buttons. This application is called "Wacom tablet settings" on Windows. Since you are working with macOS, you will probably find help right here:
Replacing link with Wayback Machine version