Yep. We weren't even dating but I was REALLY into him.....
My advice is to delete their number/email/whatever, and try not to think about them or how you could've changed the situation.
Maybe get out of the house, have a get together with some friends, or talk it out with a friend.