Pool pumps are wired to run on either 230V or 115V. Most are run on 230V and are preset at the manufacturers at 230V. If you are going to wire your own pool pump, you must first know what voltage is coming to your pump from the house circuit breaker. Also you must ensure that the electrical supply agrees with the motor's voltage, phase, and cycle and that all electrical wiring conforms to local codes and NEC regulations. If you are unsure of this voltage or are unfamiliar with electrical codes and regulations, have a professional electrician wire your pump for you or at least check your work. Failure to wire the pump correctly can cause electrical shock or can damage your pump motor and void your warranty.
Replace the motor cap and tighten screws.