Refactoring is a part of our daily routine when we write code, at least it should be even in legacy projects.
One of the goals of refactoring – clean, readable and understandable code.
You can find good example how to start refactoring by reading Cleaning up Code: Is Refactoring for Aesthetics worth It?
That article partly based on Clean Code and I recommend you to apply Clean Code rules in your project, as I do.