It's hard to have a relationship end for anyone. It's a loss and one has to grieve and come to terms with the loss. What helped me the most was starting something new and engaging. I happened to have just changed jobs when my relationship broke up and that and meeting new people and the challenges of having things to do daily helped me out. It took several months until I was back to "normal" but I didn't deteriorate and do as much damage to myself in the meantime.