Cover one`s tracks

To hide where one has been, to hide what one has done.

The man was trying to cover his tracks but it was easy to see where he had been.