When you are putting, make sure that your lower body, from the waist down, doesn’t move. If it does move, this will introduce a potential source of error which you do not need when putting.
Moving your legs and hips may work wonders at a disco, but not on the green when you are putting!
Putt well immediately after reading the most informative book ever written about putting and discover how to eliminate more errors from your putting by consulting The Fundamentals of Putting.