Keep busy, do things that help you keep your mind off of anything at all. Some examples would be: watch a movie, go to an amusement park.
If you want to get over them, realize that it is ok to think about them as much as you need. At some point, you have to move on with your life.