1. Time goes by and you feel better about it.
2. You find there are always other fish in the sea.
None of us have the right answer for YOU. For me after eight + years (2 of it being married) I just got busy and by busy I mean I did things, lots of things. Some sober, some not. But I just kept moving. Sure I was sad and lonely for a bit but I hung with friends that I hadn't had the chance to, played more volleyball, worked a bit more and just tried to enjoy the extra freedom.
Eventually I was in the right frame of mind to move on. The best part was, I had learned from that previous relationship what I needed and wanted in a ladyfriend and the second one I was with after the divorce is now my wife (and we have an amazing 9 month old). This is a second marriage for both of us. We're on five years married now and almost eight years together.