How do you get past hurt?

Very recently I had someone ask me for advice on how to move past a hurtful relationship.  I was truly stumped at how to reply.  How do you move forward when the pain in your heart is so fresh and so raw?  Comments and advice is welcomed.