Me and my ex broke up end of august last year after 4 & a half years, 2 years of that living together. The sorting out of rent, joint accounts and shared items was relatively easy but getting her out my head was the hard part, i still think of her now, but like others have said, the thing to do is go out with mates/family, focus on yourself a bit more and try to clear your head a bit.
Its been harder for me to do though as all my mates are loved up in relationships so hardly ever come out, (which i really appreciate of the selfish ****), same for my bro but he makes more of an effort, but when i have finally gone out i can feel it definitely helps, just wish it was more often.
The other thing im realising is that im useless in my own company at the moment, i tried to read the other day and my thoughts switched to whether im ever gonna find someone else, im useless etc..... of course i will, just need to train my mind to be more patient and start being less critical of myself, ive been on a few dates since which have been great but it doesnt help that ive recently been friendzone'd by someone i really liked, so ive had to cut the cord on her aswell, although since ive ignored her shes been all flirty again, silly attention bitch i reckon, but things have a knack of falling into place when you dont expect it so dont do what ive done and gone looking for it and trying too hard, as cliched as it sounds, do a bit of groundwork then let it come to you.
Its all slowly getting better though which is the thing to remember, just gotta keep plugging away.