How do you handle breakups?

I've not been in much relationships, but my girlfriend (ex) broke up with me and it's difficult to handle. What do you guys usually do to cope with breakups, from not getting overly emotional about it?
How do you handle breakups?
Post Opinion