Plain-English answer
Do not replace the pump before diagnosing the system.
A pump complaint may actually be a power problem, control problem, suction problem, filter problem, check valve problem, pressure tank problem, water source problem, or piping problem.