You need to give yourself some time and space from that person so that you get some time and perspective to think about the situation in an unbiased way with your feelings getting settled so that you calm yourself down a little and then think about it and you will realize that you will see a much clearer picture of the entire situation, maybe even agree to the fact that the breakup was a good thing for you no matter what. Keep yourself busy, work as hard as you can