It is not easy to control your use of the Internet. The best thing you can do is to create something useful in the digital environment.

A book titled Digital Minimalism (2019) by Cal Newport is an example of media consumption control. Too much information and social media can ruin your concentration if you allow it to enslave your time.
Digital minimalism: A philosophy of technology use
Cal newport (2019)
Living is about making choices. The choices you have made determine your destiny.