My ex tried confiding in me?

My ex confided in me that he's in love with another woman, etc. I'm 22F and he's 22M and we've been broken up for about a year now but I still have a lot of sadness and trauma relating to him. I didn't ask for this, I didn't want this. How do I cope with this?
My ex tried confiding in me?
Post Opinion