For children or teenagers:
To prevent young people from computer addiction, good parenting is very important. They can give their children a time limit on the computer. Put the computer somewhere public so that you can check their doings easily. The parents must also know what games their children install on the computer they use. Check the history log to see where they have been on the computer. Lastly, talk with their children regularly and ask about their lives.
Firstly, they should set a time for computer using, or planning a daily schedule. They can get themselves engaged in other social activities apart from the internet. They can also build up a hobby such as swimming or listening to music. Finally, they can talk with their friends or seek professional help if computer addiction is very serious.