1 - Try and stay away from those who advise you to take revenge.
There is nothing more damaging for you and your ex than to get on the road to revenge. Since the break up has happened now, then you must look at the reasons behind this difficult experience. Try and remain as conscious of yourself, your feelings and your future as possible and avoid any dark revengeful thoughts.
2 - Plan a future and try and include your ex in this future.
There is no need for you to erase your feelings and surely, I bet this is the last thought on your mind at the present time.
Try to remain in a positive mood even if it is very difficult right now. Clear your mind and work on your future with a positive outlook. Negative thoughts bring negative behavior and you definitely don't need it right now.
3 - Take action whenever you can.
This means getting in touch with your ex again but without putting any pressure on him/her. Your ex must understand that you are also going through a difficult time but there is nothing wrong in making an approach and showing your ex that you still care. Avoid constant telephone calls or text messages and gradually learn how to get back in touch with moderation.
Don't forget that your former partner is going through the same trauma as you are. Whether it was an ugly break-up or a very reasonable one, feelings for one another are undoubtedly still there and by keeping in touch and yet still keeping your distances, you will survive the break-up and with some efforts and conciliation, you can soon get your ex back in your arms and easily survive the break-up.