In most cases, you can beat the computer dependence on their own. To do this, first of all, to understand the problem and to set priorities. If in real life there are unresolved conflicts that force you to "hide" in the network, an urgent need to address them. After that the real world will cause you much more positive, and the virtual is gradually falling by the wayside.
Learn to keep track of time. Before you turn on the computer, arrange with them how many minutes you plan to devote to it. If this period is large enough, divide it into segments. Divide the amount of tasks to be performed on these segments, and clearly monitor their implementation.
Whenever you catch yourself thinking that it is useless hang out on the web, think about what you can take these moments for the benefit of themselves. Sites without which it is impossible to do, visit dosed and only after completed a certain amount of useful things.
Be sure to find an interesting exercise that can distract you from the monitor. Remember your old hobbies or invent new ones, the main thing that these things you enjoy, and time on the internet was less.