So how old is the pump and your sure it not something not easily repaired, breaker GFI, wiring, capacitor? Then.
Most everyone on here will suggest VS pump. The big three are Hayward, Pentair, Jandy , todays pricing$$$$. Other knockoff option is Calimar 3hp. pricing is $ .
The advise commonly given is go with the 3HP is moves plenty of water at lower speeds resulting in big power savings.