Windows includes a built-in tool that deletes temporary files and other unimportant data. To access it, right-click one of your hard drives in the Computer window and select Properties. Click the Disk Cleanup button in the disk properties window.
(Alternatively you can just search for Disk Cleanup in the Start Menu.)
Select the types of files you want to delete and click OK. This includes temporary files, log files, files in your recycle bin, and other unimportant files.
You can also clean up system files, which don’t appear in the list here. Click the Clean up system files button if you also want to delete system files.
After you do, you can click the More Options button and use the Clean up button under System Restore and Shadow Copies to delete system restore data. This button deletes all but the most recent restore point, so ensure your computer is working properly before using it – you won’t be able to use older system restore points.