Get rid of unused software
It can be assumed that there are bugs and vulnerabilities in all software. The number of possible entry points for attackers can therefore be reduced by only installing the programs you need on your computer and mobile devices.