You can find tools for this like CCclearner for Glary Utilities, and also you can do it manually. If you're looking to do it manually you need to clear 3 folders: temp, %temp% and prefetch. You can search for these folders by pressing Win + R then typing in the 3 folders names in it, and then select all and delete all items inside it.