Glad you are feeling better. I will certainly pray for you. Try catching yourself when you start to think of him and direct your thoughts somewhere else. At first it may seem hard, but if you practice you will see your obsessive thoughts about him decrease. You have a lot of strength to draw from, now you just have to start recognizing that and doing what you can.
All my best.