I’d probably block all your exes right now because if they reply you’ll be dragged into the same cycle again or you might be tempted to check if they replied to your forgiveness message.
I don’t know if you ever read on radical acceptance but that’s what I practice in life and it does wonders. It helps not to intensely react to everything and not dwell on what cannot be changed. It doesn’t mean of course that you have to accept unacceptable things, not at all. Quite the opposite, you stop being dragged into these cycles of suffering over something and endlessly (not deliberately) dragging it into your life . If you read the article you might recognize yourself and your thoughts in it
Radical Acceptance | Psychology Today
Of course if it doesn’t work for you, disregard if that’s the case. But something might click