The HUP (Heisenberg Uncertainty Principle) is a statistical law. In the equation:
##\sigma_x \sigma_p \ge \frac{\hbar}{2}##
The ##\sigma## represents the standard deviation of a set of measurements on a large set of identically prepared particles. If the particle is in a state where there is little variation in the expected value of position measurements, then the HUP says that there must be a large variation in the expected value of momentum measurements, and vice versa.
If you measure the position of a particle very accurately, there is nothing to stop you immediately measuring its momentum very accurately. But, what the HUP says, is that if you repeated this experiment many times from the same starting state, then the range of momentum measurements you get would be large. There is the difference between an accurate or precise measurement of momentum and a large variation in the (precise) expected momentum measurements.
The HUP, therefore, says nothing about how precisely you can measure position and momentum, but does say something about the range of expected values you will get.