Concentrate on work when you have personal problems..
xcombinator: I agree with most advice here:a)Do Meditation and relaxation, yoga, self help books, fill your mind holes.
b)Exercise regularly, this is important, if one day you don't have time to run, just go out and run for 5 minutes, but don't stop.
c)Talk with friends about it.For the kind of work I do, just putting myself to work won't help, e.g if I broke with my gf I can't help but I will be 85 per cent of my time thinking about her, or if someone of my family dies(my mind just says: F*CK THAT stupid work thing, this is more important!!.Only when I solve the issues, I'm free, just look at Graham Chapman funeral:
http://www.youtube.com/watch?v=fsHk9WC7fnQ&feature=playe...