This depends on your preferences but start by adjusting the button control and x-mouse button control to suit the app you are currently using. This changes what mouse clicks mean, even the middle button.