There is no book on how to do that. If there were then there wouldn't be occupations such as Pyschologists or Counsellors that exist to serve the purpose of helping people understand why hurt can cause significant confusion. Our brain is a complex part of the human anatomy, hence the reason why scientists still don't have the answer on how it works.
I believe when you love someone so deeply, the hurt that you feel after will mirror the same level of love you had for that person. This causes confusion. Not being able to think rationally at times or use logic to convince yourself that there is a better day. You may feel stuck in this ever ending cycle of waking up feeling empty. This does not last long I guarantee it. That emptiness slowly fills up with a new sense of joy, happiness and experiences that you share with friends and family. Allowing you the time to find yourself again. Once found, you'll then know exactly what is it that you want. What it is that would make you happy. Meanwhile, you'll be so into yourself and the idea of making yourself the priority for a time being.
Whether or not you'll meet someone along the way, you'll know that when that time comes it would be up to you to allow yourself to fall deeply in love again. No such thing as love at first sight, but when you meet that person that just simply strikes all the right heart strings then bang! you're in love again and its a new love to experience.