Prevent freezing

I wonder if there is a need to clean out apt and log files. I gave commands I use for the latter here: Using the Terminal Emulator in Linux Distros - #2 by zabadabadoo

You can clean out apt using:

sudo apt clean

sudo apt-get autoremove

But when using autoremove DO READ the output and check you are happy with what will be removed, BEFORE you hit Y