The last time I got dumped I was devastated. Here are some things to remember that helped me a great deal.
1. Why care so much for someone who turns their back on you?
2. If one person ends the relationship then the relationship itself is not right for either one of you. It is broken. The whole idea is to be with someone who WANTS to be with you more than anything. If that factor has changed than that person is no longer viable in any capacity.
3. 99% of people will live to fall in love again. Unless you look like Maxine Waters you are in that 99%.
4. Time is your most important commodity. Use it to fix things, improve other things, grieve, and ultimately flourish again. Remember these things are inevitable.
5. There is ALWAYS someone else (usually better as well) waiting out there. Find them but do not rush anything!
6. Never forget that you have the capacity to be happy again with someone else. It isn't just possible but the inevitable result of thinking clearly and recognizing emotional destruction and mental recovery. It WILL happen.. 100%.. Guaranteed.