- Put some rules on twitter/facebook. For example (I think) PG has a separate computer to browse the web. He has to seat in another chair to do that.
- Understand why he is having trouble focusing. Does he have impediments and he avoids them by going to twitter/facebook ?