Best strategy I know is to focus on other activities, try not to dwell on "what happened". At least until the pain/hurt/etc fades and you can look at the experience objectively from a distance.
Physical and tiring activities are great, like sports and gardening. Spending time with family and friends.. Spending time with pets are also great, especially cats and dogs. They have their own worlds and it helps to observe them not give a f*ck about anything. If you don't want to own one, you can foster them temporarily.
Mental activities that can prevent your mind from dwelling on the relationship are also good, like programming, studying a new subject etc
And sleep! Sleep is a great healer! If you are in a lot of emotional pain and you feel tired and sleepy more so than usual, don't fight the urge.
Also: dating somebody else. Just be clear up front you're getting over a breakup (i.e. you're not good relationship material right now).
Runners up: working on yourself: working out, eating right, learning new skills, leveling up at work, etc
Then just let enough time pass you can be a good partner to someone else.