A repair fixes one bad spot. A replacement fixes the whole fence. Here is how to tell which one you actually need.
One leaning post is a repair. Several leaning posts, especially along different sections of the fence line, usually means the whole run has aged out together and a patch job just moves the problem down the line.
Where the post meets the ground is where wood fails first. If several posts or panels are soft or rotted at the base, the fence has been losing structural integrity for a while, not just at the one spot you noticed.
If this is the second or third repair call on the same fence line in a few years, the math usually favors a full replacement, one job, one warranty, instead of paying to patch the same aging fence again.
Describe your project and we will put a fixed quote in writing, free and specific to your scope.