Turn off the pump and unscrew the 6 screws on top and lift up on the handle. This gives you access to the gasket. If you need a replacement part Pentair bought Pac-Fab some years ago, so they'd be the ones to have it.

Make sure that yo know what position the valve as in, so that you can back on properly oriented.