First of all I here by thank you for writing to us, allowing us to help you better. As I can understand its a tuff time you are passing through. Your memories always tries to draw your attention into it which is a usual process. That usually feels u down. in such cases you can hot water shower which will take away all the stress caused by such thoughts. and listening instrumental music will also assist u a lot.
On a daily basis a walk will add some freshness in ur life if u cant go out thats great or u can have a walk on terrace also that will also work.
In such situation you can keep yourself actively busy by making timetable and getting involved in assigned activities which takes your maximum attention. At first u will find it difficult but Slowly and slowly you will feel that ur able to pay full attention.
In fact when ever u feel like u want to relieve ur emotional burden u can talk about it with ur best buddies. In case you dont have one then the best option you can write it on a blank paper what ever comes to ur mind that moment and then destroy it. Do it as much times it happens again. Slowly and slowly u will over come it. You will become mentally free and finally relieved . Will be back to normal life.