Hello Friend, Good that you are seeking a help here. Your relationship issues is the reason for your emotional disturbance and anxiety. Relationships issues will be keep happening throughout your life at different stages and don't hold to those problems affecting your career. As you know the reasons, take the next steps to analyze priorities in your life and focus on important stuff.
Take a counseling support to guide you in this process. Consult online as it will be convenient and easy to approach.
Next Steps
Feel free to reach out to me online for further evaluation and recommendation. Be confident. You will be alright soon.