Stay busy and keep yourself and your mind focused on something else. Get up and go out and meet new people. Find a new hobby that you have been willing to try and stick to it. That way you won't be focused on them so much.
My best way? I am pretty bad at it. There is not much that I feel like doing when I am upset about anything. I could go out and be with my friends, but if I do I just talk their ears off about it and feel bad I made them listen to it all night. I found only time helps, I talk a lot about it to friends, I cry and eventually I just start feeling better. This is absolutely not the least pathetic way to go about things but it is all I can do. I guess I do try and get out as much as possible though, sitting at home by myself is even more depressing. Lol, yep, I do not do it gracefully, especially when it is in black and white I see how ungracefully.