Use of operating systems that are not privacy invasive such as Linux or BSD.
Inform yourself about privacy tools and their use.
Browser: LibreWolf
Messenger and encrypted calls: SimpleX
To give some examples.
Learn programming, I recommend Python.
In short, know what you are using and do not use applications or operating systems that give away and exploit your data.
I leave you two good websites to start.