Your heart is broken. Maybe for the first time, maybe for the fifth. You have two choices now.
You can allow pain and anger to seep through your being and go about shielding yourself from any scenario that might cause these feelings again. This will undoubtedly result in limited encounters with the world, stifled relationships, and a blunted emotional experience.
You can look for the lessons. You can dive into the pain and see if you can find greater understanding, more peace, more authenticity, and more focus than ever before. Instead of running, you can sit with the experience and breathe into it, knowing that eventually, slowly, it will pass. That in time small ripples of joy will wash healing currents through your life.
Past failures and disappointments only dictate your future if you let them. Seek out daily moments of magic and wonder. Flashes of lightening in a night sky. The impish smirk of a young child. The rustle of leaves at dusk. Kindness between strangers.
This is how you go on.