Hello Friend, Good that you are seeking a help here. Any relationship failures will take time to accept the failure and adjust and move on. You are in this transition stage and it's obvious you will be going through such emotional battles. But there are ways to manage it better and minimize the impact on day-to-day life.
You may need to first ventilate you emotions and feelings to get a clarity on next steps. Suggest you to take a professional counselling help in supporting you to overcome this suitation.
Next Steps
Consult a psychologists directly or online. Feel free to reach out to me online through Practo for further detailed evaluation and suitable solutions.